index.config.js 917 B

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