Skip to content

Commit

Permalink
🐛 avatar in og image not right
Browse files Browse the repository at this point in the history
  • Loading branch information
SilentDepth committed Apr 14, 2023
1 parent df35193 commit 01c03b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pages/api/og-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ export default (async function handler (req, res) {

const hash = sha256(title)
const logo = await resolveLogo()
const { author, email } = clientConfig
const emailHash = email && createHash('md5').update(email).digest('hex').trim().toLowerCase()
const { author, emailHash } = clientConfig

const svg = await satori(
<div style={{
Expand Down

0 comments on commit 01c03b0

Please sign in to comment.