mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Improve web preview
This commit is contained in:
parent
6237460f77
commit
2677782286
2 changed files with 3 additions and 2 deletions
|
|
@ -127,7 +127,8 @@ proc createTimelineRouter*(cfg: Config) =
|
|||
resp renderMain(html, prefs, cfg.title, title, desc, path, images = @[thumb],
|
||||
`type`="video", video=vidUrl)
|
||||
else:
|
||||
resp renderMain(html, prefs, cfg.title, title, desc, path, images=conversation.tweet.photos)
|
||||
resp renderMain(html, prefs, cfg.title, title, desc, path,
|
||||
images=conversation.tweet.photos, `type`="photo")
|
||||
|
||||
get "/i/web/status/@id":
|
||||
redirect("/i/status/" & @"id")
|
||||
|
|
|
|||
Loading…
Reference in a new issue