fix(resources): Use full path to font when cdnCache is false (#976)
This commit is contained in:
1 parent
2e9a0c21db
commit
94a54698ab
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user