mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-10 05:55:37 -05:00
Improve endpoint parity with twitter
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user