fix: invalid avatar url.
This commit is contained in:
parent
cf4410a742
commit
aac738c608
@ -49,7 +49,7 @@ export const server = {
|
||||
handler: async ({ email }) => {
|
||||
const id = await queryUserId(email);
|
||||
const hash = id === null ? encodedEmail(email) : `${id}`;
|
||||
return { avatar: urlJoin(import.meta.env.SITE, 'avatar', `${hash}.png`) };
|
||||
return { avatar: urlJoin(import.meta.env.SITE, 'avatar', `${hash}.webp`) };
|
||||
},
|
||||
}),
|
||||
comment: defineAction({
|
||||
|
Loading…
Reference in New Issue
Block a user