d71cbe9116
- Reverts #47711 - Disable image response for turbopack
25 lines
510 B
TypeScript
25 lines
510 B
TypeScript
import { ImageResponse } from 'next/server'
|
|
|
|
export const contentType = 'image/png'
|
|
export const size = { width: 512, height: 512 }
|
|
|
|
export default function icon() {
|
|
return new ImageResponse(
|
|
(
|
|
<div
|
|
style={{
|
|
width: '100%',
|
|
height: '100%',
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
fontSize: 88,
|
|
background: '#fff',
|
|
color: '#000',
|
|
}}
|
|
>
|
|
Icon
|
|
</div>
|
|
)
|
|
)
|
|
}
|