feat: update image opengraph
This commit is contained in:
parent
f42f6b8388
commit
eeff4cc059
|
|
@ -37,7 +37,7 @@ export async function generateMetadata({ params }: any): Promise<Metadata> {
|
|||
openGraph: {
|
||||
title: image?.title,
|
||||
description: image?.description,
|
||||
images: [`${image?.thumbnailLink}`],
|
||||
images: [`${image?.smallThumbnailLink}`],
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ export async function generateMetadata({ params }: any): Promise<Metadata> {
|
|||
openGraph: {
|
||||
title: video?.title,
|
||||
description: video?.description,
|
||||
videos: [`${video?.thumbnailLink}`],
|
||||
videos: [`${video?.smallThumbnailLink}`],
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue