From 3230536899ebd4c87fe3f3934efab456b4d95a0d Mon Sep 17 00:00:00 2001 From: yangsy Date: Fri, 15 Aug 2025 10:40:51 +0800 Subject: [PATCH] chore --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index 9ce2940..9b09ba4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,6 +25,7 @@ export default defineConfig((/* { command, mode } */) => { target, changeOrigin: true, rewrite: (path) => { + console.log(new Date().toLocaleString()); console.log(`请求路径: ${path}`); const rewrittenPath = path.replace(new RegExp(`^${prefix}`), ''); console.log(`将代理到: ${target}${rewrittenPath}`);