From fcf0e6454f545c03b7b9229dfcc61831c1dccdf4 Mon Sep 17 00:00:00 2001 From: leijiaping Date: Tue, 27 Oct 2026 13:30:55 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=BC=80=E5=8F=91=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=88=B0=E6=9C=AC=E5=9C=B0=E5=90=8E=E7=AB=AF?= =?UTF-8?q?(localhost:8081)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index c7a08e6..77bf963 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -27,8 +27,8 @@ export default defineConfig({ proxy: { "/api": { // target: "http://192.168.71.2:8080/", // 家 - target: "http://192.168.1.36:8080/", // 公司 - // target: "http://localhost:8080/", // 本地Docker测试 + // target: "http://192.168.1.36:8080/", // 公司 + target: "http://localhost:8081/", // 本地后端(s-file, local-dev 配置) changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, ""), }