aboutsummaryrefslogtreecommitdiff
path: root/src/js/hello.js
blob: ab6781000c13cdb927ada80cbdc0593cec924ede (plain)
1
2
3
4
5
6
// Just says hello to the server. No personal information is stored, this
// just tells me when someone real (or a bot running JS) visits my site.
function hello(){
    fetch(`/hello/${encodeURIComponent(location.pathname)}`)
}
window.onload = hello