From b100c4f560f62a40e14f45db6861f2e96cc2e16b Mon Sep 17 00:00:00 2001
From: liulingling.177216 <liulingling@halosee.com>
Date: 星期二, 21 一月 2025 10:14:39 +0800
Subject: [PATCH] 完善了知识库相关的功能

---
 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 dcba260..7d7f8c7 100644
--- a/zhitan-vue/vite.config.js
+++ b/zhitan-vue/vite.config.js
@@ -30,10 +30,10 @@
       open: true,
       proxy: {
         // https://cn.vitejs.dev/config/#server-proxy
-        '/dev-api': {
-          target: 'http://127.0.0.1:8080',
+        '/prod-api': {
+          target: 'https://demo-ems.zhitancloud.com/prod-api',
           changeOrigin: true,
-          rewrite: (p) => p.replace(/^\/dev-api/, '')
+          rewrite: (p) => p.replace(/^\/prod-api/, '')
         }
       }
     },

--
Gitblit v1.9.3