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 and qazxcdswe123 committed Apr 18, 2024
1 parent cd7aa05 commit d8312f0
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 d8312f0

Please sign in to comment.