Skip to content

Commit

Permalink
fix(resources): Use full path to font when cdnCache is false (jackyzh…
Browse files Browse the repository at this point in the history
  • Loading branch information
saberzero1 authored Mar 9, 2024
1 parent 2e9a0c2 commit 94a5469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quartz/plugins/emitters/componentResources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export const ComponentResources: QuartzEmitterPlugin<Options> = (opts?: Partial<

googleFontsStyleSheet = googleFontsStyleSheet.replace(
url,
`/static/fonts/${filename}.ttf`,
`https://${cfg.baseUrl}/static/fonts/${filename}.ttf`,
)

promises.push(
Expand Down

0 comments on commit 94a5469

Please sign in to comment.