update deps

This commit is contained in:
dswbx
2025-10-31 21:33:11 +01:00
parent 5417aa174e
commit a91ddb1ec3
5 changed files with 741 additions and 501 deletions

View File

@@ -15,7 +15,7 @@ const mockedBackend = new Hono()
.get("/file/:name", async (c) => {
const { name } = c.req.param();
const file = Bun.file(`${assetsPath}/${name}`);
return new Response(file, {
return new Response(new File([await file.bytes()], name, { type: file.type }), {
headers: {
"Content-Type": file.type,
"Content-Length": file.size.toString(),