Skip to content

Commit c671cc2

Browse files
bold?
1 parent fa092b9 commit c671cc2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/api/og/route.tsx

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

12+
const interBold = fetch(new URL('../../../assets/fonts/Inter-Bold.ttf', import.meta.url)).then(
13+
(res) => res.arrayBuffer()
14+
)
15+
1216
// const interBold = fetch(
1317
// new URL('../../../assets/fonts/OpenSans-ExtraBold.ttf', import.meta.url)
1418
// ).then((res) => res.arrayBuffer())
1519

1620
export async function GET(req: Request) {
1721
try {
1822
const fontRegular = await interRegular
19-
const fontBold = await interRegular
23+
const fontBold = await interBold
2024
// const fontBold = await interBold
2125

2226
const url = new URL(req.url)

0 commit comments

Comments
 (0)