Browse Source

改端口

hfxc226 6 months ago
parent
commit
c52e20178f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      vue.config.js

+ 3 - 3
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://localhost:5001',
+        target: 'http://localhost:5000',
         ws: false,
         changeOrigin: true,
         pathRewrite: {
@@ -112,12 +112,12 @@ const vueConfig = {
         }
       },
       '/files': {
-        target: 'http://localhost:5001',
+        target: 'http://localhost:5000',
         ws: false,
         changeOrigin: true
       },
       '/websocket': {
-        target: 'ws://localhost:5001',
+        target: 'ws://localhost:5000',
         ws: true,
         changeOrigin: false,
         logLevel: 'debug',