mirror of
https://github.com/zedeus/nitter.git
synced 2026-01-29 06:42:50 -05:00
Use custom 404 page, halt on 404 instead of resp
This commit is contained in:
@@ -38,6 +38,9 @@ routes:
|
||||
get "/help":
|
||||
redirect("/about")
|
||||
|
||||
error Http404:
|
||||
resp showError("Page not found", cfg.title)
|
||||
|
||||
extend unsupported, ""
|
||||
extend preferences, ""
|
||||
extend rss, ""
|
||||
|
||||
Reference in New Issue
Block a user