Nenhuma Descrição

index.config.js 1000B

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