From 9343d2ea697f13e52e9199fce62a959f1954f580 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Mon, 30 Aug 2021 20:08:51 -0600 Subject: add chat handlers and only allow POST methods --- static/src/follow.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/src/follow.md') 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, }); -- cgit v1.2.3