mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
parent
f9c4acabf8
commit
ebd7afe464
10 changed files with 98 additions and 37 deletions
|
|
@ -31,7 +31,7 @@ proc createStatusRouter*(cfg: Config) =
|
|||
|
||||
if conversation.tweet.video.isSome():
|
||||
let thumb = get(conversation.tweet.video).thumb
|
||||
let vidUrl = getVideoEmbed(conversation.tweet.id)
|
||||
let vidUrl = getVideoEmbed(cfg, conversation.tweet.id)
|
||||
resp renderMain(html, request, cfg, title, desc, images = @[thumb],
|
||||
`type`="video", video=vidUrl)
|
||||
elif conversation.tweet.gif.isSome():
|
||||
|
|
|
|||
Loading…
Reference in a new issue