discord redirect hack for .mp4
This commit is contained in:
parent
0bc6b33251
commit
413882f650
@ -228,7 +228,7 @@ proc createStatusRouter*(cfg: Config) =
|
||||
# images = @[card.video.get().thumb]
|
||||
|
||||
if rawVideo and video != "":
|
||||
redirect(video)
|
||||
redirect(video.replace("https://video.twimg.com", getUrlPrefix(cfg) & "/tvid").replace(".mp4", ""))
|
||||
elif rawImage and images.len > 0:
|
||||
if media == "photo" and mediaIndex.len > 0:
|
||||
var index = parseInt(mediaIndex)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user