fix(resources): Use full path to font when cdnCache is false (#976)
This commit is contained in:
parent
2e9a0c21db
commit
94a54698ab
@ -228,7 +228,7 @@ export const ComponentResources: QuartzEmitterPlugin<Options> = (opts?: Partial<
|
|||||||
|
|
||||||
googleFontsStyleSheet = googleFontsStyleSheet.replace(
|
googleFontsStyleSheet = googleFontsStyleSheet.replace(
|
||||||
url,
|
url,
|
||||||
`/static/fonts/${filename}.ttf`,
|
`https://${cfg.baseUrl}/static/fonts/${filename}.ttf`,
|
||||||
)
|
)
|
||||||
|
|
||||||
promises.push(
|
promises.push(
|
||||||
|
Loading…
Reference in New Issue
Block a user