env.js 428 B

1234567891011121314
  1. const ENV_API_URL = {
  2. development: {
  3. // url: 'https://fuyu.scapp.cn/wx-api/api',
  4. url: 'http://192.168.0.63/wx-api/api',
  5. imgUrl: 'https://fuyu.scapp.cn/static/wxa/',
  6. fileUrl: 'http://192.168.0.63'
  7. },
  8. production: {
  9. url: 'https://fuyu.scapp.cn/wx-api/api',
  10. imgUrl: 'https://fuyu.scapp.cn/static/wxa/',
  11. fileUrl: 'http://192.168.0.63'
  12. },
  13. }
  14. export const BASE_URL = ENV_API_URL[process.env.NODE_ENV || 'development'];