|
@@ -11,7 +11,7 @@ module.exports = {
|
|
assetsPublicPath: '/',
|
|
assetsPublicPath: '/',
|
|
proxyTable: {
|
|
proxyTable: {
|
|
'/admin': {
|
|
'/admin': {
|
|
- target: 'http://172.16.0.235:8080',
|
|
|
|
|
|
+ target: 'http://192.168.20.235:8080',
|
|
changeOrigin: true,
|
|
changeOrigin: true,
|
|
pathRewrite: {
|
|
pathRewrite: {
|
|
// "^/apis": ""
|
|
// "^/apis": ""
|
|
@@ -19,7 +19,7 @@ module.exports = {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
'/api': {
|
|
'/api': {
|
|
- target: 'http://172.16.0.235:8080',
|
|
|
|
|
|
+ target: 'http://192.168.20.235:8080',
|
|
changeOrigin: true,
|
|
changeOrigin: true,
|
|
pathRewrite: {
|
|
pathRewrite: {
|
|
"^/api": "/"
|
|
"^/api": "/"
|
|
@@ -43,7 +43,7 @@ module.exports = {
|
|
},
|
|
},
|
|
'/pointconfig': {
|
|
'/pointconfig': {
|
|
// 目标 API 地址
|
|
// 目标 API 地址
|
|
- target: 'http://172.16.0.235:8080/',
|
|
|
|
|
|
+ target: 'http://192.168.20.235:8080/',
|
|
// 如果要代理 websockets
|
|
// 如果要代理 websockets
|
|
ws: true,
|
|
ws: true,
|
|
// 将主机标头的原点更改为目标URL
|
|
// 将主机标头的原点更改为目标URL
|
|
@@ -59,7 +59,7 @@ module.exports = {
|
|
},
|
|
},
|
|
'/ScanBuilding': {
|
|
'/ScanBuilding': {
|
|
// 目标 API 地址
|
|
// 目标 API 地址
|
|
- target: 'http://172.16.0.235:8080/',
|
|
|
|
|
|
+ target: 'http://192.168.20.235:8080/',
|
|
// 如果要代理 websockets
|
|
// 如果要代理 websockets
|
|
ws: true,
|
|
ws: true,
|
|
// 将主机标头的原点更改为目标URL
|
|
// 将主机标头的原点更改为目标URL
|