説明なし

index.config.js 730B

12345678910111213141516171819202122
  1. const CONFIG = {
  2. // 开发环境配置
  3. development: {
  4. assetsPath: '/static', // 静态资源路径
  5. baseUrl: 'http://192.168.8.9:1042/', // 后台接口请求地址
  6. // baseUrl: 'http://docking.zwfw.anyang.gov.cn:9998/', // 后台接口请求地址
  7. hostUrl: '', // H5地址(前端运行地址)
  8. weixinAppId: '' // 微信公众号appid
  9. },
  10. // 生产环境配置
  11. production: {
  12. assetsPath: '/static', // 静态资源路径
  13. baseUrl: 'http://docking.zwfw.anyang.gov.cn:9998/', // 后台接口请求地址
  14. hostUrl: '', // H5地址(前端运行地址)
  15. weixinAppId: '' // 微信公众号appid
  16. }
  17. };
  18. export default CONFIG[process.env.NODE_ENV];