|
@@ -20,16 +20,17 @@ module.exports = {
|
|
//api地址前缀
|
|
//api地址前缀
|
|
proxy: {
|
|
proxy: {
|
|
'/files': {
|
|
'/files': {
|
|
- target: 'http://jh.tgoodsoft.net',
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/files': '',
|
|
|
|
- },
|
|
|
|
|
|
+ target: 'https://zb.liaoningdoupo.com',
|
|
},
|
|
},
|
|
'/api': {
|
|
'/api': {
|
|
- target: 'http://jh.tgoodsoft.net',
|
|
|
|
|
|
+ target: 'http://192.168.1.43:8080',
|
|
changeOrigin: true,
|
|
changeOrigin: true,
|
|
ws: true,
|
|
ws: true,
|
|
},
|
|
},
|
|
|
|
+ '/ws': {
|
|
|
|
+ target: 'https://zb.liaoningdoupo.com',
|
|
|
|
+ ws: true,
|
|
|
|
+ },
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|
|
};
|