From eb4bd22b2f6f103933a461d52697f30de53ce472 Mon Sep 17 00:00:00 2001 From: studyhill Date: Thu, 18 Jun 2026 21:45:34 +0800 Subject: [PATCH] =?utf8?q?=E5=89=8D=E7=AB=AF=E5=BC=80=E5=8F=91=E7=AB=AF?= =?utf8?q?=E5=8F=A3=E6=94=B9=E4=B8=BA=202341?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- frontend/vite.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/vite.config.js b/frontend/vite.config.js index 67a79e1..3318422 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -5,7 +5,8 @@ import react from '@vitejs/plugin-react' export default defineConfig({ plugins: [react()], server: { - port: 5173, + port: 2341, + strictPort: true, proxy: { '/api': { target: 'http://localhost:1061', -- 2.43.0