mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Misc. fixes and refactorings
This commit is contained in:
parent
c736a98614
commit
5eec0bde3d
10 changed files with 38 additions and 26 deletions
|
|
@ -87,8 +87,9 @@ proc createTimelineRouter*(cfg: Config) =
|
|||
setProfileCacheTime(cfg.profileCacheTime)
|
||||
|
||||
router timeline:
|
||||
get "/@name/?@tab?":
|
||||
get "/@name/?@tab?/?":
|
||||
cond '.' notin @"name"
|
||||
cond @"name" notin ["pic", "gif", "video"]
|
||||
cond @"tab" in ["with_replies", "media", "search", ""]
|
||||
let
|
||||
prefs = cookiePrefs()
|
||||
|
|
|
|||
Loading…
Reference in a new issue