|
@@ -77,7 +77,8 @@ module.exports = {
|
|
|
hot: true,
|
|
|
proxy: { // 配置跨域处理 可以设置多个
|
|
|
'/simulation/oauth': {
|
|
|
- target: 'http://60.205.245.110:7001', // online-new
|
|
|
+ // target: 'http://60.205.245.110:7001', // online-new
|
|
|
+ target: 'http://192.168.11.221:7001', // 国汽机房
|
|
|
changeOrigin: true,
|
|
|
secure: false, // 如果是https接口,需要配置这个参数
|
|
|
pathRewrite: {
|
|
@@ -85,7 +86,8 @@ module.exports = {
|
|
|
}
|
|
|
},
|
|
|
'/simulation/resource/common': {
|
|
|
- target: 'http://60.205.245.110:8001', // online-new
|
|
|
+ // target: 'http://60.205.245.110:8001', // online-new
|
|
|
+ target: 'http://192.168.11.221:8001', // 国汽机房
|
|
|
changeOrigin: true,
|
|
|
secure: false, // 如果是https接口,需要配置这个参数
|
|
|
pathRewrite: {
|
|
@@ -93,7 +95,8 @@ module.exports = {
|
|
|
}
|
|
|
},
|
|
|
'/simulation/resource/server': {
|
|
|
- target: 'http://60.205.245.110:8005', // online-new
|
|
|
+ // target: 'http://60.205.245.110:8005', // online-new
|
|
|
+ target: 'http://192.168.11.221:8005', // 国汽机房
|
|
|
changeOrigin: true,
|
|
|
secure: false, // 如果是https接口,需要配置这个参数
|
|
|
pathRewrite: {
|
|
@@ -101,7 +104,8 @@ module.exports = {
|
|
|
}
|
|
|
},
|
|
|
'/simulation/resource/video': {
|
|
|
- target: 'http://60.205.245.110:8007', // online-new
|
|
|
+ // target: 'http://60.205.245.110:8007', // online-new
|
|
|
+ target: 'http://192.168.11.221:8007', // 国汽机房
|
|
|
changeOrigin: true,
|
|
|
secure: false, // 如果是https接口,需要配置这个参数
|
|
|
pathRewrite: {
|