mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 14:33:41 +08:00
opt cdn
This commit is contained in:
@@ -14,7 +14,8 @@ export function getEmojiUrl(unified: string, style: EmojiStyle) {
|
||||
// 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://cdn.bootcdn.net/ajax/libs/emoji-datasource-apple/15.1.2/img/${style}/64/${unified}.png`;
|
||||
// return `https://cdn.bootcdn.net/ajax/libs/emoji-datasource-apple/15.1.2/img/${style}/64/${unified}.png`;
|
||||
return `https://cdn.staticfile.net/emoji-datasource-apple/15.0.1/img/${style}/64/${unified}.png`;
|
||||
}
|
||||
|
||||
export function AvatarPicker(props: {
|
||||
|
||||
@@ -27,7 +27,7 @@ export function RewardPage() {
|
||||
style={{ position: "absolute", top: 0, left: 0, right: 0, bottom: 0 }}
|
||||
>
|
||||
<Image
|
||||
src="https://cos.xiaosi.cc/img/zanshang.jpeg"
|
||||
src="https://oss.xiaosi.cc/web_img/zanshang.jpeg!webp"
|
||||
alt="打赏"
|
||||
layout="fill"
|
||||
objectFit="cover" // Optional: you can use this if you want the image to cover the entire area without stretching
|
||||
|
||||
Reference in New Issue
Block a user