summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-02-09 01:26:05 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-02-09 01:26:05 +0300
commit57e830e7157c1de8aff67cc83a2dcefb36111352 (patch)
tree7d1cfcf363be12552dcdec0b9e2d2d8d99b4b69f
parent3955fbabc9ed05116be07c9f659cd550734f8593 (diff)
make cookies happy
-rw-r--r--static/boot.js4
1 files changed, 2 insertions, 2 deletions
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);
};