fix: use correct hostname in analytics script

This commit is contained in:
2023-10-12 14:45:30 +01:00
parent a8964a2248
commit a0207e8874
4 changed files with 4 additions and 1 deletions

View File

@ -145,7 +145,7 @@ async function initSite() {
const sc = document.createElement("script");
sc.src = "https://analytics.v0l.io/js/script.js";
sc.defer = true;
sc.setAttribute("data-domain", "snort.social");
sc.setAttribute("data-domain", CONFIG.hostname);
document.head.appendChild(sc);
}
return null;