mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Router refactoring
This commit is contained in:
parent
f3aa28709a
commit
d93a6691ef
6 changed files with 45 additions and 49 deletions
|
|
@ -59,6 +59,7 @@ proc createRssRouter*(cfg: Config) =
|
|||
|
||||
get "/@name/@tab/rss":
|
||||
cond '.' notin @"name"
|
||||
cond @"tab" in ["with_replies", "media", "search"]
|
||||
let query =
|
||||
case @"tab"
|
||||
of "with_replies": getReplyQuery(@"name")
|
||||
|
|
|
|||
Loading…
Reference in a new issue