Updates
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user