import { ImageResponse } from 'next/og' import { appConfig } from '../../config/app' export const runtime = 'edge' export async function GET(request: Request) { const url = new URL(request.url) const baseUrl = `${url.protocol}//${url.host}` return new ImageResponse( (
{appConfig.name}
{appConfig.name}
{appConfig.description}
), { width: appConfig.assets.ogImage.width, height: appConfig.assets.ogImage.height, }, ) }