|
@@ -32,7 +32,7 @@ module.exports = {
|
|
|
// 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
|
|
// 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
|
|
|
'/api': {
|
|
'/api': {
|
|
|
// target: 'http://124.71.68.31:50001',
|
|
// target: 'http://124.71.68.31:50001',
|
|
|
- // target: 'http://192.168.1.125:18086',
|
|
|
|
|
|
|
+ target: 'http://192.168.1.125:18086',
|
|
|
// target: 'http://192.168.1.251:18086',
|
|
// target: 'http://192.168.1.251:18086',
|
|
|
// target: 'http://192.168.1.251:18186',
|
|
// target: 'http://192.168.1.251:18186',
|
|
|
// target: 'http://192.168.1.251:18086', // 开发环境
|
|
// target: 'http://192.168.1.251:18086', // 开发环境
|
|
@@ -45,7 +45,7 @@ module.exports = {
|
|
|
// target: 'http://192.168.1.251:18186', // 测试环境
|
|
// target: 'http://192.168.1.251:18186', // 测试环境
|
|
|
// target: 'http://192.168.1.251:18087',
|
|
// target: 'http://192.168.1.251:18087',
|
|
|
// target: 'http://116.163.22.90:86/api', // 嘉实生产
|
|
// target: 'http://116.163.22.90:86/api', // 嘉实生产
|
|
|
- target: 'http://aiot.zoomwin.com.cn:51001/api',
|
|
|
|
|
|
|
+ // target: 'http://aiot.zoomwin.com.cn:51001/api',
|
|
|
// target: 'http://f222326r53.imwork.net',
|
|
// target: 'http://f222326r53.imwork.net',
|
|
|
changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
|
|
changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
|
|
|
pathRewrite: {
|
|
pathRewrite: {
|