Przeglądaj źródła

chore: 后端端口改为7100

docker 2 miesięcy temu
rodzic
commit
a833710ab2

+ 1 - 1
backend/src/main/resources/application.yml

@@ -1,5 +1,5 @@
 server:
-  port: 8080
+  port: 7100
   servlet:
     context-path: /api
 

+ 1 - 1
frontend/vite.config.ts

@@ -14,7 +14,7 @@ export default defineConfig({
     port: 5173,
     proxy: {
       '/api': {
-        target: 'http://localhost:8080',
+        target: 'http://localhost:7100',
         changeOrigin: true
       }
     }