From 9a67ef921100d16294b30b7d111206789c8e1feb Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 17 May 2022 14:13:56 -0600 Subject: Add follow.html to v2 --- srv/src/api/api.go | 1 + 1 file changed, 1 insertion(+) (limited to 'srv/src/api/api.go') 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()) -- cgit v1.2.3