d71cbe9116
- Reverts #47711 - Disable image response for turbopack
23 lines
439 B
TypeScript
23 lines
439 B
TypeScript
import { ImageResponse } from 'next/server'
|
|
|
|
export const alt = 'Open Graph'
|
|
|
|
export default function og() {
|
|
return new ImageResponse(
|
|
(
|
|
<div
|
|
style={{
|
|
width: '100%',
|
|
height: '100%',
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
fontSize: 128,
|
|
background: 'lavender',
|
|
}}
|
|
>
|
|
Open Graph
|
|
</div>
|
|
)
|
|
)
|
|
}
|