Browse Source

更新 'vue.config.js'

guarantee-lsq 2 years ago
parent
commit
0d2a08ded1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vue.config.js

+ 2 - 2
vue.config.js

@@ -104,7 +104,7 @@ const vueConfig = {
     // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        target: 'http://192.168.1.4:5000',
+        target: 'http://localhost:5000',
         ws: false,
         changeOrigin: true,
         pathRewrite: {
@@ -112,7 +112,7 @@ const vueConfig = {
         }
       },
       '/files': {
-        target: 'http://192.168.1.4:5000',
+        target: 'http://localhost:5000',
         ws: false,
         changeOrigin: true
       }