summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-01-01 04:18:28 +0100
committerAki <please@ignore.pl>2024-01-01 04:19:45 +0100
commitafc212f5dc1a70d35b3240589a55db7912c45f02 (patch)
treeab0821476b8b1ec87365e5acb43e882ba66df157
parentad658306ce9a6fa7fbec6efb9da9c139de576b04 (diff)
downloadrudone-afc212f5dc1a70d35b3240589a55db7912c45f02.zip
rudone-afc212f5dc1a70d35b3240589a55db7912c45f02.tar.gz
rudone-afc212f5dc1a70d35b3240589a55db7912c45f02.tar.bz2
Changed scheme to https
This really needs to go into config
-rw-r--r--track.js2
1 files changed, 1 insertions, 1 deletions
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,