diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-05-20 07:59:36 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-05-20 07:59:36 -0600 |
commit | 5a997781871db4c1f504e2f59e14541bb1e62dcb (patch) | |
tree | 7d49a67d3f51660e8f38db10e0cfb473b5db8d36 /srv/src/api/api.go | |
parent | 16f9da05e58043a0944356e5637a18d04c0aa212 (diff) |
Scatter render.go contents everywhere
Diffstat (limited to 'srv/src/api/api.go')
-rw-r--r-- | srv/src/api/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
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{ |