From afc212f5dc1a70d35b3240589a55db7912c45f02 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 1 Jan 2024 04:18:28 +0100 Subject: Changed scheme to https This really needs to go into config --- track.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/track.js b/track.js index 0a281e6..f0dd167 100644 --- a/track.js +++ b/track.js @@ -12,7 +12,7 @@ scrolledTo = Math.max(scrolledTo, window.scrollY + window.innerHeight) }, false) window.addEventListener("beforeunload", ()=>{ - navigator.sendBeacon("http://stats.ignore.pl/entries", JSON.stringify({ + navigator.sendBeacon("https://stats.ignore.pl/entries", JSON.stringify({ "location": document.location.href, "referrer": document.referrer, "startedAt": startedAt, -- cgit v1.1