env.js 556 B

123456789101112131415161718
  1. const ENV_API_URL = {
  2. // development: {
  3. // url: 'http://192.168.0.18:7070/api',
  4. // imgUrl: 'http://192.168.0.19/static/wxa',
  5. // fileUrl: 'http://192.168.0.18:80'
  6. // },
  7. development: {
  8. url: 'https://fuyu.cc-lotus.info/wx-api/api',
  9. imgUrl: 'https://fuyu.cc-lotus.info/static/wxa',
  10. fileUrl: 'https://fuyu.cc-lotus.info'
  11. },
  12. production: {
  13. url: 'https://fuyu.scapp.cn/wx-api/api',
  14. imgUrl: 'https://fuyu.scapp.cn/static/wxa/',
  15. fileUrl: 'https://fuyu.scapp.cn'
  16. },
  17. }
  18. export const BASE_URL = ENV_API_URL[process.env.NODE_ENV || 'development'];