|
@@ -12,14 +12,14 @@ module.exports = {
|
|
|
|
|
|
proxyTable: {//正式环境
|
|
|
'/admin': {
|
|
|
- target: 'http://mbi.sagacloud.cn:8080',
|
|
|
+ target: ' http://192.168.64.14:8080/',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
"^/admin": "/"
|
|
|
}
|
|
|
},
|
|
|
'/api': {
|
|
|
- target: 'http://mbi.sagacloud.cn:8080',
|
|
|
+ target: ' http://192.168.64.14:8080/',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
"^/api": "/"
|
|
@@ -40,7 +40,7 @@ module.exports = {
|
|
|
},
|
|
|
'/pointconfig': {
|
|
|
// 目标 API 地址
|
|
|
- target: 'http://mbi.sagacloud.cn:8080/',
|
|
|
+ target: ' http://192.168.64.14:8080/',
|
|
|
// 如果要代理 websockets
|
|
|
ws: true,
|
|
|
// 将主机标头的原点更改为目标URL
|
|
@@ -64,7 +64,7 @@ module.exports = {
|
|
|
},
|
|
|
'/ScanBuilding': {
|
|
|
// 目标 API 地址
|
|
|
- target: 'http://mbi.sagacloud.cn:8080/',
|
|
|
+ target: ' http://192.168.64.14:8080/',
|
|
|
// 如果要代理 websockets
|
|
|
ws: true,
|
|
|
// 将主机标头的原点更改为目标URL
|
|
@@ -72,7 +72,7 @@ module.exports = {
|
|
|
},
|
|
|
'/scanbuilding-2': {
|
|
|
// 目标 API 地址
|
|
|
- target: 'http://mbi.sagacloud.cn:8080/',
|
|
|
+ target: ' http://192.168.64.14:8080/',
|
|
|
// 如果要代理 websockets
|
|
|
ws: true,
|
|
|
// 将主机标头的原点更改为目标URL
|
|
@@ -87,14 +87,14 @@ module.exports = {
|
|
|
}
|
|
|
},
|
|
|
'/modelapi': {
|
|
|
- target: 'http://mbi.sagacloud.cn:8080',
|
|
|
+ target: ' http://192.168.64.14:8080/',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
"^/modelapi": "/revit-algorithm/"
|
|
|
}
|
|
|
},
|
|
|
'/schedulerapi': {
|
|
|
- target: 'http://mbi.sagacloud.cn:8080',
|
|
|
+ target: ' http://192.168.64.14:8080/',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
"^/schedulerapi": "/scheduler/"
|
|
@@ -167,7 +167,7 @@ module.exports = {
|
|
|
// },
|
|
|
// '/scanbuilding-2': {
|
|
|
// // 目标 API 地址
|
|
|
- // target: 'http://mbi.sagacloud.cn:8080/',
|
|
|
+ // target: ' http://192.168.64.14:8080//',
|
|
|
// // 如果要代理 websockets
|
|
|
// ws: true,
|
|
|
// // 将主机标头的原点更改为目标URL
|