Removes the CDN loading for emojis.json
This commit is contained in:
parent
d8bbd3e78e
commit
59f26ceacd
1 changed files with 1 additions and 4 deletions
|
@ -33,10 +33,7 @@ export function initEmojiMap() {
|
|||
}
|
||||
|
||||
axiosInstance
|
||||
.get(
|
||||
`${gon.asset_host || ''}${gon.relative_url_root ||
|
||||
''}/-/emojis/${EMOJI_VERSION}/emojis.json`,
|
||||
)
|
||||
.get(`${gon.relative_url_root || ''}/-/emojis/${EMOJI_VERSION}/emojis.json`)
|
||||
.then(({ data }) => {
|
||||
emojiMap = data;
|
||||
validEmojiNames = [...Object.keys(emojiMap), ...Object.keys(emojiAliases)];
|
||||
|
|
Loading…
Reference in a new issue