mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 03:17:17 +00:00
fix(web): wrap HTMLBundle in new Response constructor for fetch compatibility
This commit is contained in:
@@ -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',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user