diff options
author | Aki <please@ignore.pl> | 2023-12-31 06:18:38 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-12-31 06:18:38 +0100 |
commit | 121ac0b2457d5f5617916aad38f5c05d94570260 (patch) | |
tree | 790c7705bf01c063bf690cfd13791e7ecadfdc37 /track.js | |
parent | a06e585bb3d3c67afd300cfd750d27fb3404a792 (diff) | |
download | rudone-121ac0b2457d5f5617916aad38f5c05d94570260.zip rudone-121ac0b2457d5f5617916aad38f5c05d94570260.tar.gz rudone-121ac0b2457d5f5617916aad38f5c05d94570260.tar.bz2 |
Added GET /entries?[from=N]
Endpoint name changed to plural
Diffstat (limited to 'track.js')
-rw-r--r-- | track.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ scrolledTo = Math.max(scrolledTo, window.scrollY + window.innerHeight) }, false) window.addEventListener("beforeunload", ()=>{ - navigator.sendBeacon("https://stats.ignore.pl/entry", JSON.stringify({ + navigator.sendBeacon("http://stats.ignore.pl/entries", JSON.stringify({ "location": document.location.href, "referrer": document.referrer, "startedAt": startedAt, |