summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,