feat: update githubusercontent webp url
This commit is contained in:
parent
a63bb82935
commit
756e76f167
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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/",
|
||||
},
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue