diff --git a/solutions/blog/app/blog/[slug]/page.tsx b/solutions/blog/app/blog/[slug]/page.tsx index 70bc0081f2..4f4d298b61 100644 --- a/solutions/blog/app/blog/[slug]/page.tsx +++ b/solutions/blog/app/blog/[slug]/page.tsx @@ -1,4 +1,3 @@ -import type { Metadata } from 'next' import { notFound } from 'next/navigation' import { CustomMDX } from 'app/components/mdx' import { formatDate, getBlogPosts } from 'app/blog/utils' @@ -12,9 +11,7 @@ export async function generateStaticParams() { })) } -export async function generateMetadata({ - params, -}): Promise { +export function generateMetadata({ params }) { let post = getBlogPosts().find((post) => post.slug === params.slug) if (!post) { return diff --git a/solutions/blog/app/robots.ts b/solutions/blog/app/robots.ts index b3a91210de..7b535e0fc2 100644 --- a/solutions/blog/app/robots.ts +++ b/solutions/blog/app/robots.ts @@ -8,6 +8,5 @@ export default function robots() { }, ], sitemap: `${baseUrl}/sitemap.xml`, - host: `${baseUrl}`, } }