Fix Satori img dimension string error

This commit is contained in:
2026-09-22 19:22:10 +05:30
parent 1b1a006d41
commit 41de440df3

View File

@@ -42,7 +42,7 @@ export async function GET(req: NextRequest) {
>
{/* Header */}
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'flex-start', width: '100%' }}>
<img src={logoUrl} width="400" height="100" style={{ objectFit: 'contain' }} />
<img src={logoUrl} width={400} height={100} style={{ objectFit: 'contain' }} />
<div style={{ fontSize: 24, fontWeight: 700, color: '#06b6d4', backgroundColor: 'rgba(6,182,212,0.1)', padding: '12px 24px', borderRadius: 30, border: '1px solid rgba(6,182,212,0.2)' }}>
Performance Overview
</div>