ffz no longer needs https appended

This commit is contained in:
3zachm 2023-03-09 17:29:05 -08:00
parent d9e16f0a2f
commit 0e3e9c1b24

View file

@ -77,14 +77,14 @@ function UserPage(props: UserPageProps) {
// ffz
data["ffz"].channel.forEach((emote: any) => {
// ffz emotes don't have all sizes available, so we need to get the largest one by taking the largest key in the urls object
emotes["ffz"][emote.name] = `https:${
emotes["ffz"][emote.name] = `${
emote.urls[
Math.max(...Object.keys(emote.urls).map((k) => parseInt(k)))
]
}`;
});
data["ffz"].global.forEach((emote: any) => {
emotes["ffz"][emote.name] = `https:${
emotes["ffz"][emote.name] = `${
emote.urls[
Math.max(...Object.keys(emote.urls).map((k) => parseInt(k)))
]