From 615a84f98b142394d3647c809b13343d4c29162b Mon Sep 17 00:00:00 2001 From: rizaldy Date: Sat, 2 Mar 2024 03:07:13 +0700 Subject: [PATCH] chore: change script.js -> umami.js --- 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 1b6e13a..f41293c 100644 --- a/quartz/plugins/emitters/componentResources.ts +++ b/quartz/plugins/emitters/componentResources.ts @@ -120,7 +120,7 @@ function addGlobalPageResources( } else if (cfg.analytics?.provider === "umami") { componentResources.afterDOMLoaded.push(` const umamiScript = document.createElement("script") - umamiScript.src = "${cfg.analytics.host ?? "https://analytics.umami.is"}/script.js" + umamiScript.src = "${cfg.analytics.host ?? "https://analytics.umami.is"}/umami.js" umamiScript.setAttribute("data-website-id", "${cfg.analytics.websiteId}") umamiScript.async = true