Skip to content

Commit

Permalink
update eslint and typescript rules
Browse files Browse the repository at this point in the history
  • Loading branch information
sajadevo committed Feb 10, 2025
1 parent 12ebbfc commit 771bc04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": ["next/core-web-vitals", "next/typescript"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"react/no-unescaped-entities": "off"
}
}
1 change: 1 addition & 0 deletions app/api/og/blog/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ export async function GET(request: Request) {
},
);
} catch (error: unknown) {
console.log(error);
return new Response("Failed to generate OG image.", { status: 500 });
}
}

0 comments on commit 771bc04

Please sign in to comment.