diff --git a/src/actions/index.ts b/src/actions/index.ts index bac2b2d..91ef558 100644 --- a/src/actions/index.ts +++ b/src/actions/index.ts @@ -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({