mirror of
https://github.com/zedeus/nitter.git
synced 2025-04-21 16:34:12 +00:00
chore: format
This commit is contained in:
parent
ca9af3aa5d
commit
57ce97d2e7
1 changed files with 1 additions and 0 deletions
|
@ -35,5 +35,6 @@ proc createJsonApiSearchRouter*(cfg: Config) =
|
|||
respJsonSuccess formatTweetsAsJson(tweets)
|
||||
else:
|
||||
respJsonError "Invalid search"
|
||||
|
||||
get "/api/hashtag/@hash":
|
||||
redirect("/search?q=" & encodeUrl("#" & @"hash"))
|
||||
|
|
Loading…
Reference in a new issue