mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Use custom 404 page, halt on 404 instead of resp
This commit is contained in:
parent
8fcdfa744a
commit
ebb89edef6
7 changed files with 12 additions and 9 deletions
|
|
@ -38,6 +38,9 @@ routes:
|
|||
get "/help":
|
||||
redirect("/about")
|
||||
|
||||
error Http404:
|
||||
resp showError("Page not found", cfg.title)
|
||||
|
||||
extend unsupported, ""
|
||||
extend preferences, ""
|
||||
extend rss, ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue