Skip to content

Commit

Permalink
fix: invalid og:image for all areas
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Nov 7, 2024
1 parent b4e6035 commit 9a25aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(default)/area/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export async function generateMetadata ({ params }: PageWithCatchAllUuidProps):

const name = sanitizeName(areaName)

const previewImage = media.length > 0 ? `${CLIENT_CONFIG.CDN_BASE_URL}/${media[0].mediaUrl}?w=1200q=75` : null
const previewImage = media.length > 0 ? `${CLIENT_CONFIG.CDN_BASE_URL}${media[0].mediaUrl}?w=1200&q=75` : null

const description = `Community knowledge • ${wall}${name}`

Expand Down

0 comments on commit 9a25aca

Please sign in to comment.