Skip to content

Commit

Permalink
move abuse page in preparation for supporting #14
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstanley committed Nov 19, 2019
1 parent 7221d4a commit d2a3666
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion static/partials/card_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<span class="pull-right">
{%if url.Path != "/" %}<a href="/">home</a> |{% endif %}
<a href="/abuse">abuse</a> |
<a href="/-/abuse">abuse</a> |
<a href="https://github.com/lrstanley/links#api">api</a> |
<a href="https://github.com/lrstanley/links" title="{{version}}, commit {{commit}}">links</a>
</span>
Expand Down

0 comments on commit d2a3666

Please sign in to comment.