|
@@ -10,11 +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,
|
|
|
+ // 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.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,
|
|
|
+ // target: 'https://wl.dasteel.cn:32322/icore.icp.web/pass/v1',
|
|
|
+ // secure: true,
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
'^/icore.icp.web/pass/v1': '/' //这里理解成用‘/api’代替target里面的地址,组件中我们调接口时直接用/api代替
|
|
@@ -35,10 +35,10 @@ 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,
|
|
|
+ // 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',
|
|
|
+ target: 'http://172.16.33.166:9001',
|
|
|
//以下两行代码为测试环境
|
|
|
- secure: true,
|
|
|
- target: 'https://wl.dasteel.cn:32322/icore-api',
|
|
|
+ // 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: 'http://172.16.33.166:80',
|
|
|
//以下两行代码为测试环境
|
|
|
- target: 'https://wl.dasteel.cn:32322',
|
|
|
- secure: false,
|
|
|
+ // target: 'https://wl.dasteel.cn:32322/api/v1',
|
|
|
+ // secure: false,
|
|
|
//target: 'http://localhost:8080',
|
|
|
// target: 'http://192.168.1.104:8080',
|
|
|
ws: true,
|
|
@@ -99,9 +99,9 @@ let proxyTable = {
|
|
|
}
|
|
|
},
|
|
|
'/views/api/v1': {
|
|
|
- // target: 'http://172.16.33.166:80',
|
|
|
- target: 'https://wl.dasteel.cn:32322',
|
|
|
- secure: false,
|
|
|
+ target: 'http://172.16.33.166:80',
|
|
|
+ // target: 'https://wl.dasteel.cn:32322',
|
|
|
+ // secure: false,
|
|
|
// target: 'http://localhost:8080',
|
|
|
ws: true,
|
|
|
pathRewrite: {
|
|
@@ -109,10 +109,10 @@ 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,
|
|
|
+ // target: 'https://wl.dasteel.cn:32322/icore.icp.web/pass/logout',
|
|
|
+ // secure: true,
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
'^/icore.icp.web/pass/logout': '/'
|