From 582d0aec84a591ea46507c129e377e6a6ef5e282 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Wed, 8 May 2024 23:17:01 +0800 Subject: [PATCH] change emoji url --- app/components/emoji.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/emoji.tsx b/app/components/emoji.tsx index 3b1f5e751..9321b5afd 100644 --- a/app/components/emoji.tsx +++ b/app/components/emoji.tsx @@ -13,7 +13,8 @@ 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://fastly.jsdelivr.net/npm/emoji-datasource-apple/img/${style}/64/${unified}.png`; + // return `https://fastly.jsdelivr.net/npm/emoji-datasource-apple/img/${style}/64/${unified}.png`; + return `https://cdn.bootcdn.net/ajax/libs/emoji-datasource-apple/15.1.2/img/${style}/64/${unified}.png`; } export function AvatarPicker(props: {