mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-19 22:20:34 +00:00
update to actual highest quality
Co-authored-by: Nam Anh <phamnamanh25@gmail.com>
This commit is contained in:
parent
abf48db04d
commit
38647087e0
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ function getUrl(data: Data) {
|
|||
if (data.t === "Emoji")
|
||||
return `${location.protocol}//${window.GLOBAL_ENV.CDN_HOST}/emojis/${data.id}.${data.isAnimated ? "gif" : "png"}`;
|
||||
|
||||
return `${window.GLOBAL_ENV.MEDIA_PROXY_ENDPOINT}/stickers/${data.id}.${StickerExt[data.format_type]}?size=2048`;
|
||||
return `${window.GLOBAL_ENV.MEDIA_PROXY_ENDPOINT}/stickers/${data.id}.${StickerExt[data.format_type]}?size=4096`;
|
||||
}
|
||||
|
||||
async function fetchSticker(id: string) {
|
||||
|
|
Loading…
Reference in a new issue