Bladeren bron

改端口

hfxc226 4 maanden geleden
bovenliggende
commit
ad678b6ea8
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  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',