Skip to content

Commit

Permalink
refactor: height width defined
Browse files Browse the repository at this point in the history
  • Loading branch information
clintonlunn committed Nov 8, 2024
1 parent 902e409 commit 05ac1fd
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}?ar=16:9&q=75` : null
const previewImage = media.length > 0 ? `${CLIENT_CONFIG.CDN_BASE_URL}${media[0].mediaUrl}?w=1920&h=1080&q=75` : null

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

Expand Down

0 comments on commit 05ac1fd

Please sign in to comment.