Skip to content

Commit

Permalink
Avatar icon fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cheina97 authored and kingmakerbot committed May 2, 2024
1 parent baea494 commit df8e35a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export type WorkspacesAvailable = {
};

export const generateAvatarUrl = (style: string, seed: string) => {
return `https://avatars.dicebear.com/api/${style}/${stringHash(seed)}.svg`;
return `https://api.dicebear.com/8.x/${style}/svg?seed=${stringHash(seed)}`;
};

export const stringHash = (s: string) => {
Expand Down

0 comments on commit df8e35a

Please sign in to comment.