From fe51088f2a957f1fb13a9168eb7357e6ccad2069 Mon Sep 17 00:00:00 2001 From: yiling Date: Wed, 3 Jun 2026 23:34:26 +0800 Subject: [PATCH] fix(web): wrap HTMLBundle in new Response constructor for fetch compatibility --- apps/web/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/index.ts b/apps/web/src/index.ts index f50ba705..5175f53e 100644 --- a/apps/web/src/index.ts +++ b/apps/web/src/index.ts @@ -65,7 +65,7 @@ const server = Bun.serve({ return new Response(Bun.file(publicFilePath)) } - return index as unknown as Response + return new Response(index as unknown as BodyInit) }, development: process.env.NODE_ENV !== 'production', })