From ae1fa76efc0d771ca50dede367bd228ce9f7b969 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Fri, 20 May 2022 14:32:31 -0600 Subject: [PATCH] Rename follow.html to follow --- srv/src/http/api.go | 2 +- srv/src/http/tpl/base.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srv/src/http/api.go b/srv/src/http/api.go index 8e89c4e..4d049ed 100644 --- a/srv/src/http/api.go +++ b/srv/src/http/api.go @@ -204,7 +204,7 @@ func (a *api) handler() http.Handler { )) mux.Handle("/static/", http.FileServer(http.FS(staticFS))) - mux.Handle("/follow.html", a.renderDumbTplHandler("follow.html")) + mux.Handle("/follow", a.renderDumbTplHandler("follow.html")) mux.Handle("/", a.renderIndexHandler()) var globalHandler http.Handler = mux diff --git a/srv/src/http/tpl/base.html b/srv/src/http/tpl/base.html index e209034..5955bee 100644 --- a/srv/src/http/tpl/base.html +++ b/srv/src/http/tpl/base.html @@ -31,7 +31,7 @@
Get notified when new posts are published! - +