Docker tweaks

This commit is contained in:
Essem 2021-09-13 13:05:22 -05:00
parent a3b617233a
commit 95dc02aed5
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
3 changed files with 3 additions and 1 deletions

View file

@ -70,7 +70,7 @@ const getImage = async (image, image2, video, extraReturnTypes, gifv = false) =>
} else if (giphyMediaURLs.includes(host)) {
payload.path = `https://media0.giphy.com/media/${image2.split("/")[4]}/giphy.gif`;
} else if (imgurURLs.includes(host)) {
// Seems that Tenor has a possibility of making GIFs static
// Seems that Imgur has a possibility of making GIFs static
payload.path = image.replace(".mp4", ".gif");
} else if (gfycatURLs.includes(host)) {
// iirc Gfycat also seems to sometimes make GIFs static