This commit is contained in:
2026-03-05 05:50:41 +01:00
parent f7c0e927c7
commit 6dd00f2561
3 changed files with 131 additions and 5 deletions
@@ -55,6 +55,10 @@ export default async function (params?: Params): Promise<ServeOptions> {
),
);
return new Response(file);
} else if (url.pathname.startsWith("/favicon.")) {
const file = Bun.file(path.join(PUBLIC_DIR, url.pathname));
return new Response(file);
} else {
return await handleWebPages({ req, server });