feat: update image opengraph

This commit is contained in:
hanif salafi 2025-07-21 15:24:01 +07:00
parent f42f6b8388
commit eeff4cc059
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ export async function generateMetadata({ params }: any): Promise<Metadata> {
openGraph: { openGraph: {
title: image?.title, title: image?.title,
description: image?.description, description: image?.description,
images: [`${image?.thumbnailLink}`], images: [`${image?.smallThumbnailLink}`],
}, },
}; };
} }

View File

@ -38,7 +38,7 @@ export async function generateMetadata({ params }: any): Promise<Metadata> {
openGraph: { openGraph: {
title: video?.title, title: video?.title,
description: video?.description, description: video?.description,
videos: [`${video?.thumbnailLink}`], videos: [`${video?.smallThumbnailLink}`],
}, },
}; };
} }