mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Improve endpoint parity with twitter
This commit is contained in:
parent
372ce7867c
commit
43a2bd529c
3 changed files with 32 additions and 3 deletions
|
|
@ -28,3 +28,6 @@ proc createSearchRouter*(cfg: Config) =
|
|||
resp renderMain(renderTweetSearch(tweets, prefs, getPath()), request, cfg.title)
|
||||
else:
|
||||
resp Http404, showError("Invalid search.", cfg.title)
|
||||
|
||||
get "/hashtag/@hash":
|
||||
redirect("/search?text=" & encodeUrl("#" & @"hash"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue