fix(og): search for font family properly
This commit is contained in:
parent
696403d3fa
commit
5928d82a56
2 changed files with 47 additions and 35 deletions
|
@ -234,7 +234,7 @@ export const ComponentResources: QuartzEmitterPlugin = () => {
|
|||
for (const fontFile of fontFiles) {
|
||||
const res = await fetch(fontFile.url)
|
||||
if (!res.ok) {
|
||||
throw new Error(`failed to fetch font ${fontFile.filename}`)
|
||||
throw new Error(`Failed to fetch font ${fontFile.filename}`)
|
||||
}
|
||||
|
||||
const buf = await res.arrayBuffer()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue