mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Fix 404 page
This commit is contained in:
parent
4104bfcba9
commit
a78eea9dce
7 changed files with 8 additions and 8 deletions
|
|
@ -29,7 +29,7 @@ proc createSearchRouter*(cfg: Config) =
|
|||
resp renderMain(renderTweetSearch(tweets, prefs, getPath()),
|
||||
request, cfg, rss=rss)
|
||||
else:
|
||||
halt Http404, showError("Invalid search", cfg)
|
||||
resp Http404, showError("Invalid search", cfg)
|
||||
|
||||
get "/hashtag/@hash":
|
||||
redirect("/search?q=" & encodeUrl("#" & @"hash"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue