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