feat: update githubusercontent webp url

This commit is contained in:
DIYgod 2025-02-11 10:49:43 +08:00
parent a63bb82935
commit 756e76f167
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ export const UserAvatar = ({ className }: { className?: string }) => {
if (import.meta.env.DEV) {
user = {
name: "Innei",
image: "https://avatars-githubusercontent.webp.se/u/41265413?v=4",
image: "https://avatars-githubusercontent-webp.webp.se/u/41265413?v=4",
}
} else {
return null

View File

@ -34,6 +34,6 @@ export const webpCloudPublicServicesMatches = [
// https://docs.webp.se/public-services/github-avatar/
{
url: /^https:\/\/avatars\.githubusercontent\.com\/u\//,
target: "https://avatars-githubusercontent.webp.se/u/",
target: "https://avatars-githubusercontent-webp.webp.se/u/",
},
]