Skip to content

Commit

Permalink
fix: og font
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudobun authored Jun 17, 2024
1 parent 3fedcf2 commit 74fd206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/portfolio/src/app/api/og/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function GET(request: Request) {

const ubuntuFontData = await ubuntuFont.arrayBuffer();
const cabinFont = await fetch(
new URL('../../../../public/fonts/Cabin-Regular.woff2', import.meta.url),
new URL('../../../../public/fonts/Cabin-Regular.ttf', import.meta.url),
{
next: { revalidate: 60 * 60 * 24 * 7 }, // cache for 7 days
}
Expand Down

0 comments on commit 74fd206

Please sign in to comment.