From 62e3d604b9db6b9ef4fb196650cc1487ce2f45ca Mon Sep 17 00:00:00 2001 From: Raj Sharma Date: Mon, 11 Mar 2024 21:44:52 +0530 Subject: [PATCH] fix: make og images work with whatsapp --- src/app/api/og/route.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/app/api/og/route.tsx b/src/app/api/og/route.tsx index 831e29f..1913bba 100644 --- a/src/app/api/og/route.tsx +++ b/src/app/api/og/route.tsx @@ -21,33 +21,33 @@ export async function GET(props: NextRequest) { (
og -
- +
+ {title?.toString()} - {description?.toString()} -
+ {description?.toString()} +
- + {author?.toString()}
{images ? ( ), { - width: 1200, - height: 630, + width: 1200 / 2, + height: 630 / 2, }, ); }