From bbaece97903edc584e917ec3d76183e7e5c69e16 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期五, 01 三月 2024 11:54:30 +0800 Subject: [PATCH] 安全隐患基础功能 --- vite.config.ts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 73449ef..f560144 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -26,8 +26,8 @@ open: true, proxy: { [env.VITE_APP_BASE_API]: { - target: 'http://192.168.3.43:8080', - // target: 'http://localhost:8080', + // target: 'http://192.168.3.43:8080', + target: 'http://localhost:8080', changeOrigin: true, rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '') } -- Gitblit v1.8.0