mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 01:59:08 +00:00
port full auth flow to cf workers
This commit is contained in:
parent
9eeb946389
commit
aad0987dce
50 changed files with 551 additions and 1167 deletions
|
@ -5,3 +5,6 @@ export const initialsFromName = (name: string) =>
|
|||
.map((x) => x[0])
|
||||
.join('')
|
||||
.toUpperCase();
|
||||
|
||||
export const avatarHash = (id: string, hash: string) =>
|
||||
`https://cdn.discordapp.com/icons/${id}/${hash}.webp?size=256`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue