From 94a54698ab7f29a609ca90033c1384a7ec5f5e65 Mon Sep 17 00:00:00 2001 From: Emile Bangma Date: Sat, 9 Mar 2024 17:59:55 +0100 Subject: [PATCH] fix(resources): Use full path to font when cdnCache is false (#976) --- quartz/plugins/emitters/componentResources.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/plugins/emitters/componentResources.ts b/quartz/plugins/emitters/componentResources.ts index 7d1a01d20..eae496ea0 100644 --- a/quartz/plugins/emitters/componentResources.ts +++ b/quartz/plugins/emitters/componentResources.ts @@ -228,7 +228,7 @@ export const ComponentResources: QuartzEmitterPlugin = (opts?: Partial< googleFontsStyleSheet = googleFontsStyleSheet.replace( url, - `/static/fonts/${filename}.ttf`, + `https://${cfg.baseUrl}/static/fonts/${filename}.ttf`, ) promises.push(