From 9d960ed0058f9087f49e9741a9af06c3f9116eb0 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期六, 19 四月 2025 11:23:02 +0800 Subject: [PATCH] feat(auth): 添加 Keycloak 认证支持 --- zhitan-vue/vite.config.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zhitan-vue/vite.config.js b/zhitan-vue/vite.config.js index a4c5dbc..f1a1f6e 100644 --- a/zhitan-vue/vite.config.js +++ b/zhitan-vue/vite.config.js @@ -4,7 +4,7 @@ // https://vitejs.dev/config/ export default defineConfig(({ mode, command }) => { - mode = "production" + mode = "development" const env = loadEnv(mode, process.cwd()) console.log(mode, "==========env") const { VITE_APP_ENV } = env @@ -33,7 +33,7 @@ proxy: { // https://cn.vitejs.dev/config/#server-proxy "/dev-api": { - target: "http://localhost", + target: "http://localhost:8080", changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, ""), }, -- Gitblit v1.9.3