diff --git a/app/api/og/route.tsx b/app/api/og/route.tsx index 461bc4f..818dc7e 100644 --- a/app/api/og/route.tsx +++ b/app/api/og/route.tsx @@ -9,6 +9,10 @@ const interRegular = fetch( new URL('../../../assets/fonts/Inter-Regular.ttf', import.meta.url) ).then((res) => res.arrayBuffer()) +const interBold = fetch(new URL('../../../assets/fonts/Inter-Bold.ttf', import.meta.url)).then( + (res) => res.arrayBuffer() +) + // const interBold = fetch( // new URL('../../../assets/fonts/OpenSans-ExtraBold.ttf', import.meta.url) // ).then((res) => res.arrayBuffer()) @@ -16,7 +20,7 @@ const interRegular = fetch( export async function GET(req: Request) { try { const fontRegular = await interRegular - const fontBold = await interRegular + const fontBold = await interBold // const fontBold = await interBold const url = new URL(req.url)