From 302e8e40b7ebd43466b25f485e5e2b046d9920e4 Mon Sep 17 00:00:00 2001 From: Raj Sharma Date: Wed, 13 Mar 2024 07:51:20 +0530 Subject: [PATCH] fix: fixed og image generator --- src/app/(home)/story/page.tsx | 2 -- src/app/api/og/route.tsx | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/(home)/story/page.tsx b/src/app/(home)/story/page.tsx index a887b6e..b27424d 100644 --- a/src/app/(home)/story/page.tsx +++ b/src/app/(home)/story/page.tsx @@ -37,8 +37,6 @@ export async function generateMetadata( const github_username = getPageProperty("github", page_block, recordMap); const images = getPageImageUrls(recordMap, { mapImageUrl: (url) => url }); - console.log("desc", description); - const params = new URLSearchParams({ title: title.toString(), description: description.toString(), diff --git a/src/app/api/og/route.tsx b/src/app/api/og/route.tsx index 1913bba..b2531a5 100644 --- a/src/app/api/og/route.tsx +++ b/src/app/api/og/route.tsx @@ -32,7 +32,7 @@ export async function GET(props: NextRequest) { {title?.toString()} {description?.toString()} -
+