|
@@ -33,9 +33,9 @@ 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.139:18086',
|
|
|
|
|
|
|
+ // target: 'http://192.168.1.139:18086',
|
|
|
// target: 'http://192.168.1.132:18086',
|
|
// target: 'http://192.168.1.132:18086',
|
|
|
- // target: 'http://192.168.1.100:18086',
|
|
|
|
|
|
|
+ target: 'http://124.71.21.222:50001',
|
|
|
changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
|
|
changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
|
|
|
pathRewrite: {
|
|
pathRewrite: {
|
|
|
'^/api': ''
|
|
'^/api': ''
|