We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa092b9 commit c671cc2Copy full SHA for c671cc2
app/api/og/route.tsx
@@ -9,14 +9,18 @@ const interRegular = fetch(
9
new URL('../../../assets/fonts/Inter-Regular.ttf', import.meta.url)
10
).then((res) => res.arrayBuffer())
11
12
+const interBold = fetch(new URL('../../../assets/fonts/Inter-Bold.ttf', import.meta.url)).then(
13
+ (res) => res.arrayBuffer()
14
+)
15
+
16
// const interBold = fetch(
17
// new URL('../../../assets/fonts/OpenSans-ExtraBold.ttf', import.meta.url)
18
// ).then((res) => res.arrayBuffer())
19
20
export async function GET(req: Request) {
21
try {
22
const fontRegular = await interRegular
- const fontBold = await interRegular
23
+ const fontBold = await interBold
24
// const fontBold = await interBold
25
26
const url = new URL(req.url)
0 commit comments