summaryrefslogtreecommitdiff
path: root/srv/src/mailinglist
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/mailinglist
parent7335295dc0e6470abdbc6860ac567db76f4859fc (diff)
Serve mailing list finalize and unsubscribe endpoints
Diffstat (limited to 'srv/src/mailinglist')
-rw-r--r--srv/src/mailinglist/mailinglist.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/srv/src/mailinglist/mailinglist.go b/srv/src/mailinglist/mailinglist.go
index 28b44b0..d9bdcc0 100644
--- a/srv/src/mailinglist/mailinglist.go
+++ b/srv/src/mailinglist/mailinglist.go
@@ -126,7 +126,7 @@ func (m *mailingList) BeginSubscription(email string) error {
SubLink string
}{
SubLink: fmt.Sprintf(
- "%s/mailinglist/finalize.html?subToken=%s",
+ "%s/mailinglist/finalize?subToken=%s",
m.params.PublicURL.String(),
emailRecord.SubToken,
),
@@ -242,7 +242,7 @@ func (m *mailingList) Publish(postTitle, postURL string) error {
PostTitle: postTitle,
PostURL: postURL,
UnsubURL: fmt.Sprintf(
- "%s/mailinglist/unsubscribe.html?unsubToken=%s",
+ "%s/mailinglist/unsubscribe?unsubToken=%s",
m.params.PublicURL.String(),
emailRecord.UnsubToken,
),