summaryrefslogtreecommitdiff
path: root/internal/web/web.go
diff options
context:
space:
mode:
authorLibravatar f0x52 <f0x@cthu.lu>2023-02-20 16:29:29 +0100
committerLibravatar GitHub <noreply@github.com>2023-02-20 16:29:29 +0100
commitb6143c9ab8bb2aac6517b9580bf72ebe485eb738 (patch)
tree9bf7e4b3eb2efcbb57fe68aa58e303cd58efc876 /internal/web/web.go
parent[chore]: Bump golang.org/x/crypto from 0.5.0 to 0.6.0 (#1541) (diff)
downloadgotosocial-b6143c9ab8bb2aac6517b9580bf72ebe485eb738.tar.xz
[feature] About page (#1495)
* about page basics * more info, styling * update emoji sizing on about page contact card
Diffstat (limited to 'internal/web/web.go')
-rw-r--r--internal/web/web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/web/web.go b/internal/web/web.go
index 08bac4583..a6b5a45da 100644
--- a/internal/web/web.go
+++ b/internal/web/web.go
@@ -104,6 +104,7 @@ func (m *Module) Route(r router.Router, mi ...gin.HandlerFunc) {
r.AttachHandler(http.MethodGet, rssFeedPath, m.rssFeedGETHandler)
r.AttachHandler(http.MethodGet, confirmEmailPath, m.confirmEmailGETHandler)
r.AttachHandler(http.MethodGet, robotsPath, m.robotsGETHandler)
+ r.AttachHandler(http.MethodGet, aboutPath, m.aboutGETHandler)
r.AttachHandler(http.MethodGet, domainBlockListPath, m.domainBlockListGETHandler)
// Attach redirects from old endpoints to current ones for backwards compatibility