From b03e75b9ce4b9fca526250b5c3d58335995a5ec0 Mon Sep 17 00:00:00 2001 From: Rohit Mahesh Date: Tue, 9 May 2023 23:14:06 +0530 Subject: [PATCH 1/2] fix for og image undefined description issue. --- supabase/functions/og-images/handler.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supabase/functions/og-images/handler.tsx b/supabase/functions/og-images/handler.tsx index 1e7b9ae98bf..7b7e3c44f02 100644 --- a/supabase/functions/og-images/handler.tsx +++ b/supabase/functions/og-images/handler.tsx @@ -30,7 +30,7 @@ export async function handler(req: Request) { switch (site) { case 'docs': - return new ImageResponse(( ), + return new ImageResponse(( ), { width: 1200, height: 630, From b4c0a13bc260cdf64059c781cacb9264628ac3b4 Mon Sep 17 00:00:00 2001 From: Greg Richardson Date: Wed, 10 May 2023 14:54:44 -0600 Subject: [PATCH 2/2] chore: formatting --- supabase/functions/og-images/handler.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supabase/functions/og-images/handler.tsx b/supabase/functions/og-images/handler.tsx index 7b7e3c44f02..27e1de9e683 100644 --- a/supabase/functions/og-images/handler.tsx +++ b/supabase/functions/og-images/handler.tsx @@ -30,7 +30,7 @@ export async function handler(req: Request) { switch (site) { case 'docs': - return new ImageResponse(( ), + return new ImageResponse(( ), { width: 1200, height: 630,