From 4199c9f98d798a1cc315aff2dbbcd37a055df135 Mon Sep 17 00:00:00 2001 From: 12975 <1297598740@qq.com> Date: Sat, 31 Jan 2026 12:33:05 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE:=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=BC=80=E5=8F=91API=E5=9F=BA=E7=A1=80URL=E4=B8=BA=E7=9B=B8?= =?UTF-8?q?=E5=AF=B9=E8=B7=AF=E5=BE=84=E5=B9=B6=E4=B8=BAVite=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=90=AF=E7=94=A8=E6=89=80?= =?UTF-8?q?=E6=9C=89=E4=B8=BB=E6=9C=BA=E7=9B=91=E5=90=AC=E5=92=8CDocker?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E8=BD=AE=E8=AF=A2=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- vite.config.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.env.development b/.env.development index 3f6b173..2bf124d 100644 --- a/.env.development +++ b/.env.development @@ -1 +1 @@ -VITE_API_BASE_URL=https://bk.swalktech.top/api/v1 +VITE_API_BASE_URL=/api/v1 diff --git a/vite.config.ts b/vite.config.ts index 1b99a13..12f840b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -16,5 +16,9 @@ export default defineConfig({ }, server: { port: 2613, + host: true, // Listen on all addresses + watch: { + usePolling: true, // Necessary for Docker on Windows + }, }, });