|
|
@@ -38,20 +38,28 @@ module.exports = {
|
|
|
// target: 'http://124.71.68.31:50001', // 测试环境
|
|
|
// target: 'http://124.71.68.31:50001',
|
|
|
// target: 'http://192.168.1.105:18086',
|
|
|
- target: 'http://localhost:18086',
|
|
|
+ // target: 'http://localhost:18086',
|
|
|
// target: 'http://192.168.1.116:18086',
|
|
|
// target: 'http://192.168.1.3:18086',
|
|
|
// target: 'http://192.168.1.251:18186',
|
|
|
// target: 'http://192.168.1.251:18086',
|
|
|
// target: 'http://192.168.1.3:18086',
|
|
|
- // target: 'http://aiot.zoomwin.com.cn:51001/api',
|
|
|
+ target: 'http://aiot.zoomwin.com.cn:51001/api',
|
|
|
// target: 'http://192.168.1.3:18086',
|
|
|
+ // target: 'http://192.168.1.147:18086', // 陈兵
|
|
|
// target: 'http://192.168.1.116:18086', // 赵沙金
|
|
|
+ // target: 'http://192.168.1.113:18086', // 郭丹
|
|
|
|
|
|
changeOrigin: true, // 只有这个值为true的情况下 s才表示开启跨域
|
|
|
pathRewrite: {
|
|
|
'^/api': ''
|
|
|
}
|
|
|
+ },
|
|
|
+ // kkFileView 在线预览服务代理(让本地像测试环境一样能加载 /kkfile/onlinePreview)
|
|
|
+ '/kkfile': {
|
|
|
+ target: 'http://aiot.zoomwin.com.cn:51001',
|
|
|
+ changeOrigin: true,
|
|
|
+ pathRewrite: { '^/kkfile': '/kkfile' }
|
|
|
}
|
|
|
}
|
|
|
},
|