We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d50dfe commit dfbc326Copy full SHA for dfbc326
src/app/docs/[[...slug]]/page.tsx
@@ -55,7 +55,9 @@ export async function generateMetadata(props: { params: Promise<{ slug?: string[
55
if (!page) notFound()
56
57
const image = {
58
- url: ["/docs-og", ...(params.slug || []), "image.png"].join("/"),
+ url: [`${process.env.NEXT_PUBLIC_BASE_URL}/docs-og`, ...(params.slug || []), "image.png"].join(
59
+ "/",
60
+ ),
61
width: 1200,
62
height: 630,
63
}
0 commit comments