From 8a06a8bc75720329a97528e2815ec4a2a8ae25e5 Mon Sep 17 00:00:00 2001 From: liulingling.177216 <liulingling@halosee.com> Date: 星期六, 18 一月 2025 21:43:44 +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