feat: fix TypeScript errors and improve code quality

This commit is contained in:
2025-06-04 11:30:12 +09:00
parent a93cfd201d
commit 56320f125b
3 changed files with 4 additions and 3 deletions

View File

@ -70,7 +70,7 @@ app.get("/assets/*", async (c) => {
: filePath.endsWith(".css")
? "text/css"
: "application/octet-stream";
const blob = await file.blob();
const blob = await file.arrayBuffer();
return c.body(blob, 200, { "Content-Type": contentType });
}
return c.notFound();