move to biomejs

This commit is contained in:
creations 2025-04-07 04:36:07 -04:00
parent 7d78a74a25
commit d91e832eab
Signed by: creations
GPG key ID: 8F553AA4320FC711
19 changed files with 99 additions and 259 deletions

View file

@ -24,10 +24,7 @@ async function handler(request: ExtendedRequest): Promise<Response> {
try {
res = await fetch(url);
} catch {
return Response.json(
{ error: "Failed to fetch image" },
{ status: 500 },
);
return Response.json({ error: "Failed to fetch image" }, { status: 500 });
}
if (!res.ok) {