ffz no longer needs https appended
This commit is contained in:
parent
d9e16f0a2f
commit
0e3e9c1b24
1 changed files with 2 additions and 2 deletions
|
@ -77,14 +77,14 @@ function UserPage(props: UserPageProps) {
|
||||||
// ffz
|
// ffz
|
||||||
data["ffz"].channel.forEach((emote: any) => {
|
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
|
// 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[
|
emote.urls[
|
||||||
Math.max(...Object.keys(emote.urls).map((k) => parseInt(k)))
|
Math.max(...Object.keys(emote.urls).map((k) => parseInt(k)))
|
||||||
]
|
]
|
||||||
}`;
|
}`;
|
||||||
});
|
});
|
||||||
data["ffz"].global.forEach((emote: any) => {
|
data["ffz"].global.forEach((emote: any) => {
|
||||||
emotes["ffz"][emote.name] = `https:${
|
emotes["ffz"][emote.name] = `${
|
||||||
emote.urls[
|
emote.urls[
|
||||||
Math.max(...Object.keys(emote.urls).map((k) => parseInt(k)))
|
Math.max(...Object.keys(emote.urls).map((k) => parseInt(k)))
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue