From 68a10ac1c366b02727da7e5c646ddd499571cfea Mon Sep 17 00:00:00 2001 From: Frad LEE Date: Fri, 16 Oct 2026 10:33:48 +0800 Subject: [PATCH] fix(web): allow docker host callbacks in local development --- apps/web/vite.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/vite.config.ts b/apps/web/vite.config.ts index d8070868..610e700c 100644 --- a/apps/web/vite.config.ts +++ b/apps/web/vite.config.ts @@ -61,6 +61,8 @@ const webConfig = { }, }, server: { + // Local Sandbox callbacks reach the dev proxy through Docker's host alias. + allowedHosts: ["host.docker.internal"], host: "0.0.0.0", port: webDevPort, proxy: {