chore: replace default avatar image
This commit is contained in:
@@ -14,7 +14,7 @@ export function UserAvatar({ user, ...props }: UserAvatarProps) {
|
||||
alt="Picture"
|
||||
src={
|
||||
user.image ??
|
||||
`https://unavatar.io/${user.email}?ttl=1h&fallback=https://wr.do/_static/avatar.png`
|
||||
`https://api.dicebear.com/9.x/initials/svg?seed=${user.name || user.email}`
|
||||
}
|
||||
referrerPolicy="no-referrer"
|
||||
/>
|
||||
|
||||
@@ -45,6 +45,10 @@ const nextConfig = {
|
||||
protocol: "https",
|
||||
hostname: "wr.do",
|
||||
},
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "api.dicebear.com",
|
||||
},
|
||||
],
|
||||
},
|
||||
experimental: {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user