index.config.js 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. const CONFIG = {
  2. // 开发环境配置
  3. development: {
  4. assetsPath: '/static', // 静态资源路径
  5. qqMapKey:'',
  6. // baseUrl: 'http://192.168.1.13:8080',//测试
  7. // hostUrl: 'http://192.168.1.13:8080', // H5地址(前端运行地址)
  8. baseUrl: 'https://api.amazeway.com.cn',//预发布
  9. hostUrl: 'https://api.amazeway.com.cn', // H5地址(前端运行地址)
  10. // baseUrl: 'https://api.cityexpress168.com.vn', // 后台接口请求地址 http://203.175.169.46:8080
  11. // hostUrl: 'https://api.cityexpress168.com.vn', // H5地址(前端运行地址) http://203.175.169.46:8080
  12. websocketUrl: '', // websocket服务端地址
  13. weixinAppId: '', // 微信公众号appid
  14. storeId: 0 //
  15. },
  16. // 生产环境配置
  17. production: {
  18. qqMapKey:'',
  19. assetsPath: '/static', // 静态资源路径
  20. // baseUrl: ' http://192.168.1.7:8080',
  21. // hostUrl: ' http://192.168.1.7:8080', // H5地址(前端运行地址)
  22. // baseUrl: 'https://api.cityexpress168.com.vn', // 后台接口请求地址
  23. // hostUrl: 'https://api.cityexpress168.com.vn', // H5地址(前端运行地址)
  24. baseUrl: 'https://api.amazeway.com.cn',//预发布
  25. hostUrl: 'https://api.amazeway.com.cn',//预发布
  26. websocketUrl: '', // websocket服务端地址
  27. weixinAppId: '', // 微信公众号appid
  28. storeId: 0 //
  29. }
  30. };
  31. export default CONFIG[process.env.NODE_ENV];