const CONFIG = { // 开发环境配置 development: { assetsPath: '/static', // 静态资源路径 qqMapKey:'', // baseUrl: 'http://192.168.111.141:8080', // hostUrl: 'http://192.168.111.141:8080', // H5地址(前端运行地址) baseUrl: 'https://api.fooder.tw', // 后台接口请求地址 http://203.175.169.46:8080 hostUrl: 'https://api.fooder.tw', // H5地址(前端运行地址) http://203.175.169.46:8080 websocketUrl: '', // websocket服务端地址 weixinAppId: '', // 微信公众号appid storeId: 0 // }, // 生产环境配置 production: { qqMapKey:'', assetsPath: '/static', // 静态资源路径 // baseUrl: ' http://192.168.1.7:8080', // hostUrl: ' http://192.168.1.7:8080', // H5地址(前端运行地址) baseUrl: 'https://api.fooder.tw', // 后台接口请求地址 hostUrl: 'https://api.fooder.tw', // H5地址(前端运行地址) websocketUrl: '', // websocket服务端地址 weixinAppId: '', // 微信公众号appid storeId: 0 // } }; export default CONFIG[process.env.NODE_ENV];