diff --git a/src/actions/index.ts b/src/actions/index.ts index 97ebfd4..826cc40 100644 --- a/src/actions/index.ts +++ b/src/actions/index.ts @@ -50,7 +50,7 @@ const normalActions = { handler: async ({ email }) => { const id = await queryUserId(email); const hash = id === null ? encodedEmail(email) : `${id}`; - return { avatar: urlJoin(import.meta.env.SITE, 'avatar', `${hash}.webp`) }; + return { avatar: urlJoin(import.meta.env.SITE, 'images/avatar', `${hash}.webp`) }; }, }), }; diff --git a/src/components/comment/CommentItem.astro b/src/components/comment/CommentItem.astro index 7227bfc..677f355 100644 --- a/src/components/comment/CommentItem.astro +++ b/src/components/comment/CommentItem.astro @@ -18,7 +18,7 @@ const { comment, depth, pending } = Astro.props;