Explorar el Código

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

yusheng hace 9 meses
padre
commit
c89324cb94
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  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.105:18086',
 
 
         // target: 'http://192.168.1.251:18186',
         // 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才表示开启跨域
         changeOrigin: true, // 只有这个值为true的情况下 s才表示开启跨域
         pathRewrite: {
         pathRewrite: {