From 2cbef9478c0586cdf6b86c71e58776f570efa519 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Fri, 14 Oct 2022 18:25:21 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/api/social-image.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/api/social-image.tsx b/pages/api/social-image.tsx index c366199..daac459 100644 --- a/pages/api/social-image.tsx +++ b/pages/api/social-image.tsx @@ -59,7 +59,7 @@ export default async function OGImage(req: NextRequest) { position: 'absolute', width: '100%', height: '100%', - objectFit: 'cover', + objectFit: 'cover' // TODO: satori doesn't support background-size: cover and seems to // have inconsistent support for filter + transform to get rid of the // blurred edges. For now, we'll go without a blur filter on the @@ -71,8 +71,8 @@ export default async function OGImage(req: NextRequest) { // : undefined, // backgroundSize: '100% 100%' // TODO: pageInfo.imageObjectPosition - filter: 'blur(8px)', - transform: 'scale(1.05)' + // filter: 'blur(8px)' + // transform: 'scale(1.05)' }} /> )}