From 8e94e3f60a91e536d69e643b4dc13804b79370bc Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期二, 05 八月 2025 17:40:06 +0800 Subject: [PATCH] feat: 页面 --- vite.config.ts | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 205656b..a3c29ca 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -56,7 +56,9 @@ // 鏈嶅姟绔覆鏌� server: { // 鏄惁寮�鍚� https - // https: false, + // https: { + + // }, // 绔彛鍙� port: VITE_PORT, host: '0.0.0.0', @@ -72,7 +74,7 @@ // ws: true, changeOrigin: true, rewrite: (path: string) => { - console.log('path: ', path); + console.log('path: ', path, path.replace(/^\/api/, '')); return path.replace(/^\/api/, ''); }, }, -- Gitblit v1.9.1