mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
fix(resources): Use full path to font when cdnCache is false (#976)
This commit is contained in:
parent
2e9a0c21db
commit
94a54698ab
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue