mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 07:25:10 +00:00
fix animated gifs i hope
This commit is contained in:
parent
b96d8d0692
commit
1df4c4de4e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ function getUrl(data: Data) {
|
|||
if (data.format_type === 1 || data.format_type === 3)
|
||||
return `https:${window.GLOBAL_ENV.MEDIA_PROXY_ENDPOINT}/stickers/${data.id}.${StickerExt[data.format_type]}?size=4096&lossless=true`;
|
||||
|
||||
return "https://cdn.discordapp.com";
|
||||
return `https://cdn.discordapp.com/stickers/${data.id}.${StickerExt[data.format_type]}?size=4096&lossless=true`;
|
||||
}
|
||||
|
||||
async function fetchSticker(id: string) {
|
||||
|
|
Loading…
Add table
Reference in a new issue