baseurl.js 239 B

123456
  1. // let devUrl = 'http://192.168.0.103:80/dev-api';
  2. let devUrl = 'http://localhost:80/dev-api';
  3. let prodUrl = 'http://localhost:80/prod-api';
  4. let baseUrl = process.env.NODE_ENV === 'development' ? devUrl : prodUrl;
  5. export default baseUrl;