Skip to content

Commit

Permalink
Update Emoji CDN (run-llama#57)
Browse files Browse the repository at this point in the history
The previous CDN (cdn.staticfile.org) appears to no longer host emoji files.
This commit updates the CDN to Cloudflare and incorporates the latest emoji
versions.
  • Loading branch information
gappc committed Dec 28, 2023
1 parent f327239 commit aeee808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/ui/emoji.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import EmojiPicker, {
} from "emoji-picker-react";

export function getEmojiUrl(unified: string, style: EmojiStyle) {
return `https://cdn.staticfile.org/emoji-datasource-apple/14.0.0/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 EmojiAvatarPicker(props: {
Expand Down

0 comments on commit aeee808

Please sign in to comment.