mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-26 14:32:04 -04:00
gravatar - use shapes from avi
This commit is contained in:
parent
dc43d7379d
commit
25ddb30d24
@ -93,7 +93,7 @@ export const makeId = (length, characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghi
|
||||
}
|
||||
|
||||
export const fallbackAvatar = (user, size = 240) => {
|
||||
return `https://avi.avris.it/${size}/${Base64.encode(user.username).replace(/\+/g, '-').replace(/\//g, '_')}.png`;
|
||||
return `https://avi.avris.it/shape-${size}/${Base64.encode(user.username).replace(/\+/g, '-').replace(/\//g, '_')}.png`;
|
||||
}
|
||||
|
||||
export const gravatar = (user, size = 240) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user