From 0571c03740d9069cf761695d0dcadd4d6bc9af0d Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期四, 19 六月 2025 08:54:19 +0800 Subject: [PATCH] refactor(model): 优化模型相关功能和查询 --- zhitan-vue/vite.config.js | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/zhitan-vue/vite.config.js b/zhitan-vue/vite.config.js index a1ac844..ef4c075 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,15 +33,15 @@ proxy: { // https://cn.vitejs.dev/config/#server-proxy "/dev-api": { - target: "https://demo-ems.zhitancloud.com", + target: "http://localhost:8088", changeOrigin: true, - rewrite: (p) => p.replace(/^\/dev-api/, "/prod-api"), + rewrite: (p) => p.replace(/^\/dev-api/, "/"), }, "/prod-api": { - target: "https://demo-ems.zhitancloud.com", + target: "http://localhost:8088", changeOrigin: true, secure: true, - } + }, }, }, //fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file -- Gitblit v1.9.3