From 5a997781871db4c1f504e2f59e14541bb1e62dcb Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Fri, 20 May 2022 07:59:36 -0600 Subject: Scatter render.go contents everywhere --- srv/src/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'srv/src/api/api.go') diff --git a/srv/src/api/api.go b/srv/src/api/api.go index 7538662..ab2bca5 100644 --- a/srv/src/api/api.go +++ b/srv/src/api/api.go @@ -211,7 +211,7 @@ func (a *api) handler() http.Handler { { v2Mux := http.NewServeMux() - v2Mux.Handle("/follow.html", a.renderDumbHandler("follow.html")) + v2Mux.Handle("/follow.html", a.renderDumbTplHandler("follow.html")) v2Mux.Handle("/posts/", a.renderPostHandler()) v2Mux.Handle("/assets/", http.StripPrefix("/assets", apiutil.MethodMux(map[string]http.Handler{ -- cgit v1.2.3