Skip to content

Commit 623eaa4

Browse files
🗂
1 parent 74c7d2a commit 623eaa4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/api/social-image.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default async function OGImage(req: NextRequest) {
5959
position: 'absolute',
6060
width: '100%',
6161
height: '100%',
62-
objectFit: 'cover'
62+
objectFit: 'cover',
6363
// TODO: satori doesn't support background-size: cover and seems to
6464
// have inconsistent support for filter + transform to get rid of the
6565
// blurred edges. For now, we'll go without a blur filter on the
@@ -71,8 +71,8 @@ export default async function OGImage(req: NextRequest) {
7171
// : undefined,
7272
// backgroundSize: '100% 100%'
7373
// TODO: pageInfo.imageObjectPosition
74-
// filter: 'blur(8px)'
75-
// transform: 'scale(1.05)'
74+
filter: 'blur(8px)',
75+
transform: 'scale(1.05)'
7676
}}
7777
/>
7878
)}

0 commit comments

Comments
 (0)