|
@@ -210,8 +210,8 @@ module.exports = {
|
|
|
}
|
|
|
},
|
|
|
'/api': {
|
|
|
- target: 'http://192.168.64.17:28888/',
|
|
|
- // target: 'http://192.168.64.14:28888/',
|
|
|
+ // target: 'http://192.168.64.17:28888/',
|
|
|
+ target: 'http://192.168.64.14:28888/',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
"^/api": "/"
|
|
@@ -293,8 +293,8 @@ module.exports = {
|
|
|
// 目标 API 地址
|
|
|
// target: 'http://192.168.12.238:8080/',
|
|
|
// target: 'http://60.205.177.43:28888',
|
|
|
- // target: 'http://192.168.64.14:28888',
|
|
|
- target: 'http://192.168.64.17:28888',
|
|
|
+ target: 'http://192.168.64.14:28888',
|
|
|
+ // target: 'http://192.168.64.17:28888',
|
|
|
// 如果要代理 websockets
|
|
|
ws: true,
|
|
|
// 将主机标头的原点更改为目标URL
|