From 58d9f460b2f8c34430285115e2557d18333c5cab Mon Sep 17 00:00:00 2001 From: Codex Assistant <codex@example.com> Date: 星期三, 08 十月 2025 14:16:55 +0800 Subject: [PATCH] feat: 修复Player实体phone字段数据冗余问题并优化小程序报名逻辑 --- web/vite.config.ts | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/vite.config.ts b/web/vite.config.ts index 697b868..95ede8f 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -10,13 +10,14 @@ } }, server: { - port: 5173, + port: 3000, open: true, proxy: { '/api': { target: 'http://localhost:8080', changeOrigin: true, - rewrite: (path) => path.replace(/^\/api/, '/api') + // 涓嶉渶瑕侀噸鍐欒矾寰勶紝鍥犱负鍚庣鐨刢ontext-path灏辨槸/api + // rewrite: (path) => path.replace(/^\/api/, '/api') } } }, -- Gitblit v1.8.0