fix(posts/page): fix OG cover image path
This commit is contained in:
parent
22a8748d48
commit
ccaa7b6871
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ export async function generateMetadata({
|
|||
title: `${meta.title} | ${metadata.title!.toString()}`,
|
||||
description: meta.description,
|
||||
url: process.env.SITE_URL + `/posts/${slug}`,
|
||||
images: meta.coverImage ? [meta.coverImage] : undefined,
|
||||
images: meta.coverImage ? [`/posts/${meta.coverImage}`] : undefined,
|
||||
tags: meta.tags,
|
||||
...(meta.updated && { modifiedTime: new Date(meta.updated).toISOString() }),
|
||||
siteName: metadata.title!.toString(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue