diff options
Diffstat (limited to 'srv/src/api/api.go')
-rw-r--r-- | srv/src/api/api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/srv/src/api/api.go b/srv/src/api/api.go index 7323d29..0184ef1 100644 --- a/srv/src/api/api.go +++ b/srv/src/api/api.go @@ -194,6 +194,7 @@ func (a *api) handler() http.Handler { mux.Handle("/api/", http.StripPrefix("/api", apiHandler)) // TODO need to setCSRFMiddleware on all these rendering endpoints + mux.Handle("/v2/follow.html", a.renderDumbHandler("follow.html")) mux.Handle("/v2/posts/", a.renderPostHandler()) mux.Handle("/v2/", a.renderIndexHandler()) |