Skip to content

Commit

Permalink
bold?
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscoMoretti committed Jan 2, 2025
1 parent fa092b9 commit c671cc2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/api/og/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ 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())

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)
Expand Down

0 comments on commit c671cc2

Please sign in to comment.