summaryrefslogtreecommitdiff
path: root/srv/src/http/api.go
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-21 14:03:38 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-21 14:03:38 -0600
commit4dc1683d3ec01eb5030fadab182631e7bbe448c0 (patch)
tree245497641e867858a3e85220e10624a85341f540 /srv/src/http/api.go
parent7335295dc0e6470abdbc6860ac567db76f4859fc (diff)
Serve mailing list finalize and unsubscribe endpoints
Diffstat (limited to 'srv/src/http/api.go')
-rw-r--r--srv/src/http/api.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/srv/src/http/api.go b/srv/src/http/api.go
index 3cb4ba5..19a65d9 100644
--- a/srv/src/http/api.go
+++ b/srv/src/http/api.go
@@ -216,6 +216,8 @@ func (a *api) blogHandler() http.Handler {
mux.Handle("/static/", http.FileServer(http.FS(staticFS)))
mux.Handle("/follow", a.renderDumbTplHandler("follow.html"))
+ mux.Handle("/mailinglist/unsubscribe", a.renderDumbTplHandler("unsubscribe.html"))
+ mux.Handle("/mailinglist/finalize", a.renderDumbTplHandler("finalize.html"))
mux.Handle("/feed.xml", a.renderFeedHandler())
mux.Handle("/", a.renderIndexHandler())