import { ImageResponse } from 'next/og' import { NextRequest } from 'next/server' import { env } from '@typebot.io/env' export const runtime = 'edge' export async function GET(req: NextRequest) { const { searchParams } = req.nextUrl const postTitle = searchParams.get('title') const font = fetch( new URL('../../assets/Outfit-Medium.ttf', import.meta.url) ).then((res) => res.arrayBuffer()) const fontData = await font return new ImageResponse( (