|
@@ -46,6 +46,7 @@ let proxyTable = {
|
|
'^/icore.icp.web/pass/act': '/'
|
|
'^/icore.icp.web/pass/act': '/'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+
|
|
"/api/v1/cd": {
|
|
"/api/v1/cd": {
|
|
target: "http://172.16.33.166:8083",
|
|
target: "http://172.16.33.166:8083",
|
|
ws: true,
|
|
ws: true,
|
|
@@ -53,21 +54,21 @@ let proxyTable = {
|
|
"^/api/v1/cd": "/api/v1/cd"
|
|
"^/api/v1/cd": "/api/v1/cd"
|
|
}
|
|
}
|
|
},
|
|
},
|
|
-
|
|
+
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
"/api/v1": {
|
|
"/api/v1": {
|
|
- target: "http://192.168.1.108:8080",
|
|
+ target: "http://172.16.33.166:8080",
|
|
ws: true,
|
|
ws: true,
|
|
pathRewrite: {
|
|
pathRewrite: {
|
|
"^/api/v1": "/api/v1"
|
|
"^/api/v1": "/api/v1"
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
"/views/api/v1": {
|
|
"/views/api/v1": {
|
|
target: "http://172.16.33.166:8080",
|
|
target: "http://172.16.33.166:8080",
|
|
ws: true,
|
|
ws: true,
|
|
@@ -82,108 +83,6 @@ let proxyTable = {
|
|
'^/icore.icp.web/pass/logout': '/'
|
|
'^/icore.icp.web/pass/logout': '/'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
-
|
|
|
|
-
|
|
|
|
- '/icore.icp.web/pass/configCenter': {
|
|
|
|
- target: 'http://paas-config/configCenter',
|
|
|
|
- changeOrigin: true,
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/icore.icp.web/pass/configCenter': '/'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- '/icore.icp.web/restPassword': {
|
|
|
|
- target: 'http://sso-dev.steerinfo.com',
|
|
|
|
- changeOrigin: true,
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/icore.icp.web/restPassword': '/'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- '/icore.icp.web/pass/serviceCenter': {
|
|
|
|
- target: 'http://dev-govern.steerinfo.com',
|
|
|
|
- changeOrigin: true,
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/icore.icp.web/pass/serviceCenter': '/'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- '/icore.icp.web/pass/act': {
|
|
|
|
- target: 'http://dev-act.steerinfo.com',
|
|
|
|
- changeOrigin: true,
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/icore.icp.web/pass/act': '/'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- '/icore.icp.web/pass/job': {
|
|
|
|
- target: 'http://dev-job.steerinfo.com',
|
|
|
|
- changeOrigin: true,
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/icore.icp.web/pass/job': '/'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- '/icore.icp.web/pass/dd': {
|
|
|
|
- target: 'http://dd.steerinfo.com',
|
|
|
|
- changeOrigin: true,
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/icore.icp.web/pass/dd': '/'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- '/icore.icp.web/pass/apiauth': {
|
|
|
|
- target: 'http://auth.steerinfo.com',
|
|
|
|
- changeOrigin: true,
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/icore.icp.web/pass/apiauth': '/'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- '/icore.icp.web/pass/websocket': {
|
|
|
|
- target: 'http://websocket.steerinfo.com/',
|
|
|
|
- changeOrigin: true,
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/icore.icp.web/pass/websocket': '/'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- '/icore-api': {
|
|
|
|
- target: 'http://sso-dev.steerinfo.com',
|
|
|
|
- changeOrigin: true,
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/icore-api': '/'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- '/pass/devops': {
|
|
|
|
- target: 'http://10.10.50.51:9080',
|
|
|
|
- changeOrigin: true,
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/pass/devops': '/'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- '/graphql': {
|
|
|
|
-
|
|
|
|
- target: 'http://10.10.50.28:8080',
|
|
|
|
- changeOrigin: true
|
|
|
|
- },
|
|
|
|
- '/devopsApi': {
|
|
|
|
- target: 'https://devops-api.steerinfo.com',
|
|
|
|
- changeOrigin: true,
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/devopsApi': '/'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- '/devops-images': {
|
|
|
|
- target: 'https://devops.steerinfo.com',
|
|
|
|
- changeOrigin: true
|
|
|
|
- },
|
|
|
|
- '/authManage': {
|
|
|
|
- target: 'http://10.10.50.62:20000',
|
|
|
|
- changeOrigin: true,
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/authManage': '/'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- '/icore.icp.web/edgeDevice': {
|
|
|
|
- target: 'http://10.10.50.62:10000',
|
|
|
|
- changeOrigin: true,
|
|
|
|
- pathRewrite: {
|
|
|
|
- '^/icore.icp.web/edgeDevice': '/'
|
|
|
|
- }
|
|
|
|
- }*/
|
|
|
|
}
|
|
}
|
|
|
|
|
|
let dist = '../dist';
|
|
let dist = '../dist';
|