diff --git a/src/app/(blog)/post/[slug]/og/route.tsx b/src/app/(blog)/post/[slug]/og/route.tsx index fde37b95..9d9adb85 100644 --- a/src/app/(blog)/post/[slug]/og/route.tsx +++ b/src/app/(blog)/post/[slug]/og/route.tsx @@ -16,8 +16,6 @@ export async function GET( return NextResponse.json({ error: 'Post not found' }, { status: 404 }) } - console.log() - return new ImageResponse( (
tag.trim()), authors: 'Mateus Felipe Gonçalves ', type: 'article', - url: `https://mfg-b.vercel.app/post/${params.slug}` + url: `https://mfg-b.vercel.app/post/${params.slug}`, + images: { + url: `${host}/post/${post.id}/og`, + width: 1200, + height: 630 + } } } }