Add routes for confirming email address
This commit is contained in:
parent
a52f5da87a
commit
b2737b4968
8 changed files with 139 additions and 12 deletions
|
|
@ -25,7 +25,11 @@ func Router() chi.Router {
|
|||
r.Get("/privacy", getPrivacy)
|
||||
r.Get("/robots.txt", getRobots)
|
||||
r.Get("/email/render/{code}", getEmailByCode)
|
||||
r.Get("/email/subscribe", getEmailSubscribe)
|
||||
r.Get("/email/confirm", getEmailConfirm)
|
||||
r.Post("/email/confirm", postEmailConfirm)
|
||||
r.Get("/email/confirm/complete", getEmailConfirmComplete)
|
||||
r.Get("/email/unsubscribe", getEmailUnsubscribe)
|
||||
r.Get("/email/unsubscribe/report/{report_id}", getEmailReportUnsubscribe)
|
||||
r.Get("/image/{uuid}", getImageByUUID)
|
||||
r.Route("/mock", addMockRoutes)
|
||||
r.Get("/pool-submit-complete", getPoolSubmitComplete)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue