From 19fb7e7af8464bc88088d8bbc80c481752827994 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 04 八月 2025 14:31:19 +0800 Subject: [PATCH] fix: 修改底层 --- vite.config.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 205656b..e6d3e8c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -72,7 +72,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