forked from creations/profilePage
move to biomejs
This commit is contained in:
parent
7d78a74a25
commit
d91e832eab
19 changed files with 99 additions and 259 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue