Skip to content

Commit

Permalink
Attempt to use Cloudflare/B2 backed emoji cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada committed Feb 11, 2021
1 parent 4fd5edb commit 26bc06f
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/providers/emoji/Emojis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,27 +269,26 @@ void Emojis::loadEmojiSet()
{"EmojiOne 2", "https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.6/assets/png/"},

// JSDELIVR
// {"EmojiOne 3", "https://cdn.jsdelivr.net/npm/[email protected]/img/emojione/64/"},
{"EmojiOne 3", "https://cdn.jsdelivr.net/npm/[email protected]/img/emojione/64/"},
// {"Twitter", "https://cdn.jsdelivr.net/npm/[email protected]/img/twitter/64/"},
// {"Facebook", "https://cdn.jsdelivr.net/npm/[email protected]/img/facebook/64/"},
// {"Apple", "https://cdn.jsdelivr.net/npm/[email protected]/img/apple/64/"},
// {"Google", "https://cdn.jsdelivr.net/npm/[email protected]/img/google/64/"},
// {"Messenger", "https://cdn.jsdelivr.net/npm/[email protected]/img/messenger/64/"},
{"Messenger", "https://cdn.jsdelivr.net/npm/[email protected]/img/messenger/64/"},

// OBRODAI
// {"EmojiOne 3", "https://pajbot.com/static/emoji/img/emojione/64/"},
// {"Twitter", "https://pajbot.com/static/emoji/img/twitter/64/"},
// {"Facebook", "https://pajbot.com/static/emoji/img/facebook/64/"},
// {"Apple", "https://pajbot.com/static/emoji/img/apple/64/"},
// {"Google", "https://pajbot.com/static/emoji/img/google/64/"},
{"Messenger", "https://pajbot.com/static/emoji/img/messenger/64/"},

// BRAIZE
{"EmojiOne 3", "https://test.pajlada.se/emoji/emojione/64/"},
{"Twitter", "https://test.pajlada.se/emoji/twitter/64/"},
{"Facebook", "https://test.pajlada.se/emoji/facebook/64/"},
{"Apple", "https://test.pajlada.se/emoji/apple/64/"},
{"Google", "https://test.pajlada.se/emoji/google/64/"},
// {"Messenger", "https://pajbot.com/static/emoji/img/messenger/64/"},

// Cloudflare+B2 bucket
{"Twitter", "https://chatterino2-emoji-cdn.pajlada.se/file/c2-emojis/emojis-v1/twitter/64/"},
{"Facebook", "https://chatterino2-emoji-cdn.pajlada.se/file/c2-emojis/emojis-v1/facebook/64/"},
{"Apple", "https://chatterino2-emoji-cdn.pajlada.se/file/c2-emojis/emojis-v1/apple/64/"},
{"Google", "https://chatterino2-emoji-cdn.pajlada.se/file/c2-emojis/emojis-v1/google/64/"},
};
// clang-format on

Expand Down

0 comments on commit 26bc06f

Please sign in to comment.