diff --git a/http.go b/http.go index b033dc0..fe65176 100644 --- a/http.go +++ b/http.go @@ -56,7 +56,7 @@ func httpServer() { r.Get("/", func(w http.ResponseWriter, r *http.Request) { tmpl.Render(w, r, "tmpl/index.html", nil) }) - r.Get("/abuse", func(w http.ResponseWriter, r *http.Request) { tmpl.Render(w, r, "tmpl/abuse.html", nil) }) + r.Get("/-/abuse", func(w http.ResponseWriter, r *http.Request) { tmpl.Render(w, r, "tmpl/abuse.html", nil) }) r.Get("/{uid}", expand) r.Post("/{uid}", expand) r.Post("/", addForm) diff --git a/static/partials/card_footer.html b/static/partials/card_footer.html index 374e3ae..5077cbb 100644 --- a/static/partials/card_footer.html +++ b/static/partials/card_footer.html @@ -6,7 +6,7 @@ {%if url.Path != "/" %}home |{% endif %} - abuse | + abuse | api | links