Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Fix [UI/UX] [Emoji] Update CDN (#238)
Browse files Browse the repository at this point in the history
- [+] fix(emoji.tsx): update CDN url from 'cdn.jsdelivr.net' to 'fastly.jsdelivr.net'
  • Loading branch information
H0llyW00dzZ authored Feb 1, 2024
1 parent de2fb86 commit 1d2972c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/emoji.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function getEmojiUrl(unified: string, style: EmojiStyle) {
// Whoever owns this Content Delivery Network (CDN), I am using your CDN to serve emojis
// Old CDN broken, so I had to switch to this one
// Author: https://github.com/H0llyW00dzZ
return `https://cdn.jsdelivr.net/npm/${emojiDataSource}/img/${emojiStyle}/64/${unified}.png`;
return `https://fastly.jsdelivr.net/npm/${emojiDataSource}/img/${emojiStyle}/64/${unified}.png`;
}

export function debounce(func: Function, delay: number) {
Expand Down

0 comments on commit 1d2972c

Please sign in to comment.