From 623eaa43b55a6aad0279291eb163d3394896eded Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Fri, 14 Oct 2022 18:22:05 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=82?= 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 daac459..c366199 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)' }} /> )}