From 3ad537052477fe31f45bd2e16045d58b35713bdc Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期六, 24 五月 2025 09:19:59 +0800 Subject: [PATCH] refactor(env): 更新环境配置并优化代码 --- 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 68e341e..ef4c075 100644 --- a/zhitan-vue/vite.config.js +++ b/zhitan-vue/vite.config.js @@ -33,12 +33,12 @@ proxy: { // https://cn.vitejs.dev/config/#server-proxy "/dev-api": { - target: "http://localhost:8080", + target: "http://localhost:8088", changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, "/"), }, "/prod-api": { - target: "http://localhost:8080", + target: "http://localhost:8088", changeOrigin: true, secure: true, }, -- Gitblit v1.9.3