From 765d05c0a7808dfb95fab590717d44e5cf7545cb Mon Sep 17 00:00:00 2001 From: liu <362165265@qq.com> Date: Tue, 3 Feb 2026 10:05:46 +0800 Subject: [PATCH] Update server port configuration from 8080 to 48080 in both backend and frontend settings. --- backend/src/main/resources/application.yml | 2 +- frontend/vite.config.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main/resources/application.yml b/backend/src/main/resources/application.yml index 0582940..497ba32 100644 --- a/backend/src/main/resources/application.yml +++ b/backend/src/main/resources/application.yml @@ -1,5 +1,5 @@ server: - port: 8080 + port: 48080 spring: datasource: diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index ce0615c..e76f9b8 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -6,11 +6,11 @@ export default defineConfig({ server: { proxy: { '/api': { - target: 'http://localhost:8080', + target: 'http://localhost:48080', changeOrigin: true, }, '/ws': { - target: 'ws://localhost:8080', + target: 'ws://localhost:48080', ws: true, }, },