From ae78df7aed1664e4c18e54c139592d5e0c38c1d4 Mon Sep 17 00:00:00 2001 From: zhitan-cloud <394600+ustcyc@user.noreply.gitee.com> Date: 星期六, 18 一月 2025 22:21:59 +0800 Subject: [PATCH] !25 知识库 Merge pull request !25 from liulingling1993/lll0118 --- 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