瀏覽代碼

修改vue.config.js中的代理目标地址

yusheng 10 月之前
父節點
當前提交
c89324cb94
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      vue.config.js

+ 1 - 3
vue.config.js

@@ -40,10 +40,8 @@ module.exports = {
         // target: 'http://192.168.1.105:18086',
 
         // target: 'http://192.168.1.251:18186',
-        // target: 'http://192.168.1.144:18086',
-        target: 'http://192.168.1.125:18086',
 
-        // target: 'http://192.168.1.251:18186',
+        target: 'http://192.168.1.251:18086',
 
         changeOrigin: true, // 只有这个值为true的情况下 s才表示开启跨域
         pathRewrite: {