From 99c6ea8010d0b339a66f27c72a2efbfd66c23491 Mon Sep 17 00:00:00 2001 From: zhang <z1415143022@163.com> Date: 星期五, 18 四月 2025 14:35:33 +0800 Subject: [PATCH] sql更新 --- zhitan-vue/vite.config.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/zhitan-vue/vite.config.js b/zhitan-vue/vite.config.js index b9d01a0..d7726c7 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: "https://demo-ems.zhitancloud.com", + target: "http://localhost:8080", 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:8080", changeOrigin: true, secure: true, }, -- Gitblit v1.9.3