From 2046b486eec014aa4f51b28a20892bea0fce23fc Mon Sep 17 00:00:00 2001 From: zhangkaihuai Date: Fri, 4 Oct 2024 10:51:32 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20vite.config.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vite.config.js b/vite.config.js index a3ab326..13ff68e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -77,9 +77,9 @@ export default defineConfig({ // }, "/api": { // target: "http://frp.feashow.cn:31800/", - target: "http://112.19.165.99:20002/", + target: "http://10.8.105.91:28080/", changeOrigin: true, - // rewrite: (path) => path.replace(/^\/api/, ""), + rewrite: (path) => path.replace(/^\/api/, ""), }, // "/socket": { // target: "ws://frp.feashow.cn:8081/ws",