|
@@ -9,16 +9,17 @@ module.exports = {
|
|
|
|
|
|
assetsSubDirectory: 'static',
|
|
|
assetsPublicPath: '/',
|
|
|
- proxyTable: {
|
|
|
+
|
|
|
+ proxyTable: {
|
|
|
'/admin': {
|
|
|
- target: 'http://192.168.20.235:8080',
|
|
|
+ target: 'http://mbi.sagacloud.cn:8080',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
"^/admin": "/"
|
|
|
}
|
|
|
},
|
|
|
'/api': {
|
|
|
- target: 'http://192.168.20.235:8080',
|
|
|
+ target: 'http://mbi.sagacloud.cn:8080',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
"^/api": "/"
|
|
@@ -26,7 +27,7 @@ module.exports = {
|
|
|
},
|
|
|
'/data-platform-3': {
|
|
|
|
|
|
- target: 'http://192.168.20.225:8080/',
|
|
|
+ target: 'http://api.sagacloud.cn/',
|
|
|
|
|
|
ws: true,
|
|
|
|
|
@@ -34,15 +35,15 @@ module.exports = {
|
|
|
},
|
|
|
'/business-space': {
|
|
|
|
|
|
- target: 'http://192.168.20.225:8080/',
|
|
|
-
|
|
|
- ws: true,
|
|
|
-
|
|
|
- changeOrigin: false
|
|
|
+ target: 'http://api.sagacloud.cn',
|
|
|
+ changeOrigin: true,
|
|
|
+ pathRewrite: {
|
|
|
+ "^/business-space": "/dp-auxiliary/business-space/"
|
|
|
+ }
|
|
|
},
|
|
|
'/pointconfig': {
|
|
|
|
|
|
- target: 'http://192.168.20.235:8080/',
|
|
|
+ target: 'http://mbi.sagacloud.cn:8080/',
|
|
|
|
|
|
ws: true,
|
|
|
|
|
@@ -50,23 +51,23 @@ module.exports = {
|
|
|
},
|
|
|
'/venders-dp': {
|
|
|
|
|
|
- target: 'http://192.168.20.225:8080/',
|
|
|
-
|
|
|
- ws: true,
|
|
|
-
|
|
|
- changeOrigin: false
|
|
|
+ target: 'http://api.sagacloud.cn',
|
|
|
+ changeOrigin: true,
|
|
|
+ pathRewrite: {
|
|
|
+ "^/venders-dp": "/dp-auxiliary/venders-dp/"
|
|
|
+ }
|
|
|
},
|
|
|
'/venders': {
|
|
|
|
|
|
- target: 'http://192.168.20.225:8080/',
|
|
|
-
|
|
|
- ws: true,
|
|
|
-
|
|
|
- changeOrigin: false
|
|
|
+ target: 'http://api.sagacloud.cn',
|
|
|
+ changeOrigin: true,
|
|
|
+ pathRewrite: {
|
|
|
+ "^/venders": "/dp-auxiliary/venders/"
|
|
|
+ }
|
|
|
},
|
|
|
'/ScanBuilding': {
|
|
|
|
|
|
- target: 'http://192.168.20.235:8080/',
|
|
|
+ target: 'http://mbi.sagacloud.cn:8080/',
|
|
|
|
|
|
ws: true,
|
|
|
|
|
@@ -74,29 +75,116 @@ module.exports = {
|
|
|
},
|
|
|
'/image-service': {
|
|
|
|
|
|
- target: 'http://192.168.20.225:8080/',
|
|
|
-
|
|
|
- ws: true,
|
|
|
-
|
|
|
- changeOrigin: false
|
|
|
- },
|
|
|
- '/godhand': {
|
|
|
-
|
|
|
- target: 'http://192.168.20.225:8080/',
|
|
|
-
|
|
|
- ws: true,
|
|
|
-
|
|
|
- changeOrigin: false
|
|
|
+ target: 'http://api.sagacloud.cn',
|
|
|
+ changeOrigin: true,
|
|
|
+ pathRewrite: {
|
|
|
+ "^/image-service": "/dp-auxiliary/image-service/"
|
|
|
+ }
|
|
|
},
|
|
|
'/modelapi': {
|
|
|
- target: 'http://192.168.20.225:8082',
|
|
|
+ target: 'http://mbi.sagacloud.cn:8080',
|
|
|
+ changeOrigin: true,
|
|
|
+ pathRewrite: {
|
|
|
+ "^/modelapi": "/revit-algorithm/"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ '/schedulerapi': {
|
|
|
+ target: 'http://mbi.sagacloud.cn:8080',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
- "^/modelapi": "/"
|
|
|
+ "^/schedulerapi": "/scheduler/"
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
host: '0.0.0.0',
|
|
|
port: 28080,
|
|
@@ -150,4 +238,4 @@ module.exports = {
|
|
|
|
|
|
bundleAnalyzerReport: process.env.npm_config_report
|
|
|
}
|
|
|
-}
|
|
|
+}
|