Quellcode durchsuchen

config(proxy): 更新代理服务器目标地址

- 将/api接口代理目标从localhost:8070更改为localhost:5000
- 将/files接口代理目标从localhost:8070更改为localhost:5000
dazhaxie vor 3 Wochen
Ursprung
Commit
360b7ae26c
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      vue.config.js

+ 2 - 2
vue.config.js

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