We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 623eaa4 commit 2cbef94Copy full SHA for 2cbef94
pages/api/social-image.tsx
@@ -59,7 +59,7 @@ export default async function OGImage(req: NextRequest) {
59
position: 'absolute',
60
width: '100%',
61
height: '100%',
62
- objectFit: 'cover',
+ objectFit: 'cover'
63
// TODO: satori doesn't support background-size: cover and seems to
64
// have inconsistent support for filter + transform to get rid of the
65
// blurred edges. For now, we'll go without a blur filter on the
@@ -71,8 +71,8 @@ export default async function OGImage(req: NextRequest) {
71
// : undefined,
72
// backgroundSize: '100% 100%'
73
// TODO: pageInfo.imageObjectPosition
74
- filter: 'blur(8px)',
75
- transform: 'scale(1.05)'
+ // filter: 'blur(8px)'
+ // transform: 'scale(1.05)'
76
}}
77
/>
78
)}
0 commit comments