mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Optimize usage of cookie preferences
This commit is contained in:
parent
310c5e936d
commit
db45433ec4
13 changed files with 88 additions and 52 deletions
|
|
@ -48,8 +48,8 @@ proc createStatusRouter*(cfg: Config) =
|
|||
video = getPicUrl(get(conv.tweet.gif).url)
|
||||
|
||||
let html = renderConversation(conv, prefs, getPath() & "#m")
|
||||
resp renderMain(html, request, cfg, title, desc,
|
||||
images=images, video=video, ogTitle=ogTitle)
|
||||
resp renderMain(html, request, cfg, prefs, title, desc, ogTitle,
|
||||
images=images, video=video)
|
||||
|
||||
get "/@name/@s/@id/@m/?@i?":
|
||||
cond @"s" in ["status", "statuses"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue