File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff 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
1616export 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 ) )
You can’t perform that action at this time.
0 commit comments