From 086237925a35b0fef6b445c807620d72803482a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E4=BC=9F=E6=B4=8B?= Date: Thu, 13 Mar 2025 22:21:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20config=20=E6=9C=AC=E5=9C=B0=E8=B0=83?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index c6a6cd0..4daba70 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -84,12 +84,12 @@ export default defineConfig(({ mode }) => { changeOrigin: true, rewrite: (path) => path.replace(/^\/api\/iserver/, "/iserver"), }, - // "/api/run": { - // // target: "http://shuili.product.dev.com:30115/", - // target: "http://172.16.34.80:18082", - // changeOrigin: true, - // rewrite: (path) => path.replace(/^\/api/, "/tianhui-admin-web"), - // }, + "/api/run": { + // target: "http://shuili.product.dev.com:30115/", + target: "http://172.16.34.80:18082", + changeOrigin: true, + rewrite: (path) => path.replace(/^\/api/, "/tianhui-admin-web"), + }, "/api": { target: "http://shuili.product.dev.com:30115", // 'http://172.16.34.59:18083' changeOrigin: true,