summaryrefslogtreecommitdiff
path: root/static/src/follow.md
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2021-08-30 20:08:51 -0600
committerBrian Picciano <mediocregopher@gmail.com>2021-08-30 20:44:45 -0600
commit9343d2ea697f13e52e9199fce62a959f1954f580 (patch)
treee1e36e330a3c9891bfd8a625229a9b417ad89afa /static/src/follow.md
parent3e9a17abb9a9d63af3c260fba9dc404dd9c59ade (diff)
add chat handlers and only allow POST methods
Diffstat (limited to 'static/src/follow.md')
-rw-r--r--static/src/follow.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/src/follow.md b/static/src/follow.md
index b02e7f0..dcdfcdd 100644
--- a/static/src/follow.md
+++ b/static/src/follow.md
@@ -63,7 +63,7 @@ emailSubscribe.onclick = async () => {
throw "The browser environment is not secure.";
}
- await api.call('POST', '/api/mailinglist/subscribe', {
+ await api.call('/api/mailinglist/subscribe', {
body: { email: emailAddress.value },
requiresPow: true,
});