From a87aa143a2ed4c20e7a22e58b5c30e8812b46b5a Mon Sep 17 00:00:00 2001 From: kangod Date: Mon, 5 Feb 2024 18:25:31 +0800 Subject: [PATCH] =?UTF-8?q?config:=20=E4=BF=AE=E6=94=B9=20vite=20=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 51ac2ec..b4e0e02 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -37,7 +37,6 @@ export default defineConfig({ '/api': { target: 'http://127.0.0.1:7441', changeOrigin: true, - rewrite: (path) => path.replace(/^\/api/, ''), }, }, },