|
@@ -10,20 +10,16 @@
|
|
|
export default {
|
|
|
dev: {
|
|
|
'/api/': {
|
|
|
- // target: 'http://test.api.zanxiangwl.com',
|
|
|
- // target: 'https://game.84game.cn',
|
|
|
- target: 'https://testapi.zanxiangwl.com',
|
|
|
+ target: 'https://api.zanxiangwl.com',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: { '/api': '' },
|
|
|
},
|
|
|
'/erpApi/': {
|
|
|
- target: 'https://testapi.zanxiangwl.com',
|
|
|
- // target: 'https://api.zanxiangwl.com',
|
|
|
+ target: 'https://api.zanxiangwl.com',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: { '/erpApi': '' },
|
|
|
},
|
|
|
'/gameApi/': {
|
|
|
- // target: 'http://test.api.zanxiangwl.com',//服务器
|
|
|
target: 'https://game.84game.cn',//服务器
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: { '^/gameApi/': '' },
|