Skip to content

Commit

Permalink
path of least resistance
Browse files Browse the repository at this point in the history
  • Loading branch information
arzafran committed Apr 17, 2024
1 parent f31af05 commit 53ce440
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Binary file added app/fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf
Binary file not shown.
7 changes: 1 addition & 6 deletions app/opengraph-image.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ export const contentType = 'image/png'

const getFont = async () => {
const res = await fetch(
new URL('fonts/IBM_Plex_Mono/IBMPlexMono-Regular.woff2', import.meta.url),
{
headers: {
'Content-Type': 'font/woff2',
},
},
new URL('fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf', import.meta.url),
)
return await res.arrayBuffer()
}
Expand Down

0 comments on commit 53ce440

Please sign in to comment.