From efb891f7abfcc3f2c81349715ddf4087f709da40 Mon Sep 17 00:00:00 2001
From: DYL0109 <1332079466@qq.com>
Date: 星期六, 18 一月 2025 22:49:29 +0800
Subject: [PATCH] !26 知识库功能联调 Merge pull request !26 from DYL0109/develop1.0

---
 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