From: studyhill Date: Thu, 18 Jun 2026 13:45:34 +0000 (+0800) Subject: 前端开发端口改为 2341 X-Git-Url: http://acesimba.cloud/gitweb/?a=commitdiff_plain;h=eb4bd22b2f6f103933a461d52697f30de53ce472;p=study-mountion.git 前端开发端口改为 2341 --- 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',