From 57a287951dff726ca6f73fbd84994abdf290c20d Mon Sep 17 00:00:00 2001 From: Emile Bangma Date: Fri, 8 Mar 2024 10:26:08 +0000 Subject: [PATCH] fix(resources): Add full path to non-cdnCache fonts --- 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 7d1a01d203e4e..eae496ea0915f 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(