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: {
|
openGraph: {
|
||||||
title: image?.title,
|
title: image?.title,
|
||||||
description: image?.description,
|
description: image?.description,
|
||||||
images: [`${image?.thumbnailLink}`],
|
images: [`${image?.smallThumbnailLink}`],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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}`],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue