|
@@ -10,23 +10,23 @@
|
|
|
export default {
|
|
|
dev: {
|
|
|
'/api/': {
|
|
|
- target: 'http://api.zanxiangwl.com',
|
|
|
+ target: 'https://api.zanxiangwl.com',
|
|
|
// target: 'http://api.zanxiangwl.com',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: { '/api': '' },
|
|
|
},
|
|
|
'/wapi/': {
|
|
|
- target: 'http://api.zanxiangnet.com',//服务器
|
|
|
+ target: 'https://api.zanxiangnet.com',//服务器
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: { '^/wapi/': '' },
|
|
|
},
|
|
|
'/wxapi/':{//小程序
|
|
|
- target: 'http://report.zanxiangwl.com',//服务器
|
|
|
+ target: 'https://report.zanxiangwl.com',//服务器
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: { '^/wxapi/': '' },
|
|
|
},
|
|
|
'/dapi/': {
|
|
|
- target: 'http://data.zanxiangnet.com',//数据平台
|
|
|
+ target: 'https://data.zanxiangnet.com',//数据平台
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: { '^/dapi/': '' },
|
|
|
},
|