|
@@ -10,11 +10,11 @@ let proxyTable = {
|
|
|
'/icore.icp.web/pass/v1/sysusers/user/token': {
|
|
|
|
|
|
|
|
|
-
|
|
|
+ target: 'http://172.16.33.166:9001/v1/sysusers/user/token',
|
|
|
|
|
|
- target:
|
|
|
- 'https://wl.dasteel.cn:32322/icore.icp.web/pass/v1/sysusers/user/token',
|
|
|
- secure: true,
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
@@ -23,10 +23,10 @@ let proxyTable = {
|
|
|
},
|
|
|
'/icore.icp.web/pass/v1': {
|
|
|
|
|
|
-
|
|
|
+ target: 'http://172.16.33.166:9001/v1',
|
|
|
|
|
|
- target: 'https://wl.dasteel.cn:32322/icore.icp.web/pass/v1',
|
|
|
- secure: true,
|
|
|
+
|
|
|
+
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
'^/icore.icp.web/pass/v1': '/'
|
|
@@ -35,10 +35,10 @@ let proxyTable = {
|
|
|
},
|
|
|
'/icore.icp.web/pass/auth/login': {
|
|
|
|
|
|
-
|
|
|
+ target: 'http://172.16.33.166:9001/auth/login',
|
|
|
|
|
|
- target: 'https://wl.dasteel.cn:32322/icore.icp.web/pass/auth/login',
|
|
|
- secure: true,
|
|
|
+
|
|
|
+
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
'^/icore.icp.web/pass/auth/login': ''
|
|
@@ -52,10 +52,10 @@ let proxyTable = {
|
|
|
}
|
|
|
},
|
|
|
'/icore-api': {
|
|
|
-
|
|
|
+ target: 'http://172.16.33.166:9001',
|
|
|
|
|
|
- secure: true,
|
|
|
- target: 'https://wl.dasteel.cn:32322/icore-api',
|
|
|
+
|
|
|
+
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
'^/icore-api': '/'
|
|
@@ -86,10 +86,10 @@ let proxyTable = {
|
|
|
},
|
|
|
|
|
|
'/api/v1': {
|
|
|
-
|
|
|
+ target: 'http://172.16.33.166:80',
|
|
|
|
|
|
- target: 'https://wl.dasteel.cn:32322',
|
|
|
- secure: false,
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
ws: true,
|
|
@@ -99,9 +99,9 @@ let proxyTable = {
|
|
|
}
|
|
|
},
|
|
|
'/views/api/v1': {
|
|
|
-
|
|
|
- target: 'https://wl.dasteel.cn:32322',
|
|
|
- secure: false,
|
|
|
+ target: 'http://172.16.33.166:80',
|
|
|
+
|
|
|
+
|
|
|
|
|
|
ws: true,
|
|
|
pathRewrite: {
|
|
@@ -109,10 +109,10 @@ let proxyTable = {
|
|
|
}
|
|
|
},
|
|
|
'/icore.icp.web/pass/logout': {
|
|
|
-
|
|
|
+ target: 'http://172.16.33.166:9001/logout',
|
|
|
|
|
|
- target: 'https://wl.dasteel.cn:32322/icore.icp.web/pass/logout',
|
|
|
- secure: true,
|
|
|
+
|
|
|
+
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
'^/icore.icp.web/pass/logout': '/'
|