mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Proxy media instead of using file cache
This commit is contained in:
parent
1dcb191903
commit
68a5ac20b6
7 changed files with 80 additions and 61 deletions
|
|
@ -45,7 +45,7 @@ proc createStatusRouter*(cfg: Config) =
|
|||
video = getVideoEmbed(cfg, conv.tweet.id)
|
||||
elif conv.tweet.gif.isSome():
|
||||
images = @[get(conv.tweet.gif).thumb]
|
||||
video = getGifUrl(get(conv.tweet.gif).url)
|
||||
video = getPicUrl(get(conv.tweet.gif).url)
|
||||
|
||||
let html = renderConversation(conv, prefs, getPath() & "#m")
|
||||
resp renderMain(html, request, cfg, title, desc,
|
||||
|
|
|
|||
Loading…
Reference in a new issue