Explorar o código

修改本地后端请求地址

yanghe17378 hai 11 meses
pai
achega
ce98cee35e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      vue.config.js

+ 1 - 1
vue.config.js

@@ -32,7 +32,7 @@ module.exports = {
     proxy: {
       // 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
       '/api': {
-        target: 'http://192.168.1.105:18086',
+        target: 'http://localhost:18086',
         // target: 'http://192.168.1.158:18086',
         // target: 'http://192.168.1.176:18086',
         // target: 'http://192.168.1.251:18086',