|
@@ -10,7 +10,11 @@ let proxyTable = {
|
|
|
'/icore.icp.web/pass/v1/sysusers/user/token': {
|
|
|
//https://portal.steerinfo.com/icore.icp.web/pass/sso/v1/sysusers/user/token
|
|
|
//target: 'https://portal-dev.steerinfo.com/icore.icp.web/pass/sso/v1/sysusers/user/token',
|
|
|
- target: 'http://172.16.33.166:9001/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: {
|
|
|
'^/icore.icp.web/pass/v1/sysusers/user/token': '/'
|
|
@@ -18,7 +22,9 @@ let proxyTable = {
|
|
|
},
|
|
|
'/icore.icp.web/pass/v1': {
|
|
|
//target: 'http://172.16.33.161:80/v1', //加http
|
|
|
- target: 'http://172.16.33.166:9001/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': '/' //这里理解成用‘/api’代替target里面的地址,组件中我们调接口时直接用/api代替
|
|
@@ -27,7 +33,9 @@ let proxyTable = {
|
|
|
},
|
|
|
'/icore.icp.web/pass/auth/login': {
|
|
|
//target: 'http://sso-dev.steerinfo.com/icore.icp.web/pass/auth/login',
|
|
|
- target: 'http://172.16.33.166:9001/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': ''
|
|
@@ -41,7 +49,9 @@ let proxyTable = {
|
|
|
}
|
|
|
},
|
|
|
'/icore-api': {
|
|
|
- target: 'http://172.16.33.166:9001',
|
|
|
+ // target: 'http://172.16.33.166:9001',
|
|
|
+ secure: true,
|
|
|
+ target: 'https://wl.dasteel.cn:32322/icore-api',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
'^/icore-api': '/'
|
|
@@ -72,16 +82,21 @@ let proxyTable = {
|
|
|
},
|
|
|
// 所有数据的请求域名地址
|
|
|
'/api/v1': {
|
|
|
- target: 'http://172.16.33.166:80',
|
|
|
+ // target: 'http://172.16.33.166:80',
|
|
|
+ target: 'https://wl.dasteel.cn:32322/api/v1',
|
|
|
+ secure: false,
|
|
|
// target: 'http://localhost:8080',
|
|
|
// target: 'http://192.168.1.104:8080',
|
|
|
ws: true,
|
|
|
pathRewrite: {
|
|
|
- '^/api/v1': '/api/v1'
|
|
|
+ // '^/api/v1': '/api/v1'
|
|
|
+ '^/api/v1': ''
|
|
|
}
|
|
|
},
|
|
|
'/views/api/v1': {
|
|
|
- target: 'http://172.16.33.166:80',
|
|
|
+ // target: 'http://172.16.33.166:80',
|
|
|
+ target: 'https://wl.dasteel.cn:32322',
|
|
|
+ secure: false,
|
|
|
// target: 'http://localhost:8080',
|
|
|
ws: true,
|
|
|
pathRewrite: {
|
|
@@ -89,7 +104,9 @@ let proxyTable = {
|
|
|
}
|
|
|
},
|
|
|
'/icore.icp.web/pass/logout': {
|
|
|
- target: 'http://172.16.33.166:9001/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': '/'
|