|
|
@@ -32,8 +32,8 @@ module.exports = {
|
|
|
// 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
|
|
|
'/api': {
|
|
|
// target: 'http://192.168.1.210:86/',
|
|
|
- // target: 'http://192.168.1.176:18086',
|
|
|
- target: 'http://192.168.1.125:18086',
|
|
|
+ // target: 'http://192.168.1.116:18086',
|
|
|
+ target: 'http://192.168.1.251:18086',
|
|
|
changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
|
|
|
pathRewrite: {
|
|
|
'^/api': ''
|