summaryrefslogtreecommitdiff
path: root/srv/src
diff options
context:
space:
mode:
Diffstat (limited to 'srv/src')
-rw-r--r--srv/src/http/api.go2
-rw-r--r--srv/src/http/tpl/base.html2
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 @@
<div class="five columns light">
<span style="display:block; margin-bottom:0.5rem;">Get notified when new posts are published!</span>
- <a href="{{ BlogURL "follow.html" }}">
+ <a href="{{ BlogURL "follow" }}">
<button class="button-primary">
<i class="far fa-envelope"></i>
Follow