|
@@ -108,12 +108,16 @@ const vueConfig = {
|
|
|
// If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
|
|
|
proxy: {
|
|
|
'/api': {
|
|
|
- // target: 'http://192.168.16.102:9110/zyit',
|
|
|
- target: 'http://it.test.zyucgj.com/zyit',
|
|
|
+ target: 'http://192.168.16.102:8081/cw-admin/',
|
|
|
+ // target: 'https://zyyc.chelingzhu.com/cw-admin/',
|
|
|
ws: false,
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
'^/api': ''
|
|
|
+ },
|
|
|
+ // ÖØÐ´cookie·¾¶
|
|
|
+ cookiePathRewrite: {
|
|
|
+ '/cw-admin/': '/'
|
|
|
}
|
|
|
}
|
|
|
}
|