Skip to content

Commit fa092b9

Browse files
fix?
1 parent f242360 commit fa092b9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/api/og/route.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ const interRegular = fetch(
99
new URL('../../../assets/fonts/Inter-Regular.ttf', import.meta.url)
1010
).then((res) => res.arrayBuffer())
1111

12-
const interBold = fetch(
13-
new URL('../../../assets/fonts/OpenSans-ExtraBold.ttf', import.meta.url)
14-
).then((res) => res.arrayBuffer())
12+
// const interBold = fetch(
13+
// new URL('../../../assets/fonts/OpenSans-ExtraBold.ttf', import.meta.url)
14+
// ).then((res) => res.arrayBuffer())
1515

1616
export async function GET(req: Request) {
1717
try {
1818
const fontRegular = await interRegular
19-
const fontBold = await interBold
19+
const fontBold = await interRegular
20+
// const fontBold = await interBold
2021

2122
const url = new URL(req.url)
2223
const values = ogImageSchema.parse(Object.fromEntries(url.searchParams))

0 commit comments

Comments
 (0)