chore(fix): update cdn emoji links

This commit is contained in:
pacmandoh 2023-12-15 21:53:54 +08:00 committed by Hk-Gosuto
parent 6967d7d540
commit 4104abf5b8

View File

@ -10,7 +10,7 @@ import BotIcon from "../icons/bot.svg";
import BlackBotIcon from "../icons/black-bot.svg";
export function getEmojiUrl(unified: string, style: EmojiStyle) {
return `https://cdn.staticfile.org/emoji-datasource-apple/15.0.1/img/${style}/64/${unified}.png`;
return `https://cdnjs.cloudflare.com/ajax/libs/emoji-datasource-apple/15.0.1/img/${style}/64/${unified}.png`;
}
export function AvatarPicker(props: {