diff options
author | Mark Powers <mark@marks.kitchen> | 2021-12-23 16:50:42 -0600 |
---|---|---|
committer | Mark Powers <mark@marks.kitchen> | 2021-12-23 16:50:42 -0600 |
commit | 1d3574d38909bc9aae2792d839023e296fb25791 (patch) | |
tree | c409fbff38083b85356498f636714e6ec74f95e4 /src/js | |
parent | 85a103d6a02a50ce28cbb44c2e693000d9b7388d (diff) |
Add email unsubcribe link, update about me, add hello.js
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/hello.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/js/hello.js b/src/js/hello.js new file mode 100644 index 0000000..ab67810 --- /dev/null +++ b/src/js/hello.js @@ -0,0 +1,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 |