Browse Source

改端口

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