From 57e830e7157c1de8aff67cc83a2dcefb36111352 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Mon, 9 Feb 2026 01:26:05 +0300 Subject: make cookies happy --- static/boot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static/boot.js') diff --git a/static/boot.js b/static/boot.js index 0bec294..8b18f8f 100644 --- a/static/boot.js +++ b/static/boot.js @@ -52,10 +52,10 @@ return; const script = document.createElement("script"); - script.src = "https://stats.wsap.dev/count.js"; + script.src = "/count.js"; script.async = true; script.defer = true; - script.setAttribute("data-goatcounter", "https://stats.wsap.dev/count"); + script.setAttribute("data-goatcounter", `${window.location.origin}/count`); script.setAttribute("data-goatcounter-script", "true"); document.head.appendChild(script); }; -- cgit v1.2.3