From ca6d5365dd659424ff1e85a3d9dfa03e6d7b8d5c Mon Sep 17 00:00:00 2001 From: ap <951984189@qq.com> Date: Wed, 8 Dec 2021 12:40:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index d4fbe5d..d313c03 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -17,8 +17,7 @@ export default (): UserConfig => { // 请求代理地址 const proxy = { "/dev": { - // target: "http://127.0.0.1:8001", - target: "http://rjjgeibqc2.localtunnel-cool.cool-js.cloud", + target: "http://127.0.0.1:8001", changeOrigin: true, rewrite: (path: string) => path.replace(/^\/dev/, "") },