import { ImageResponse } from "next/og"; export const runtime = "edge"; export async function GET() { const geistSemiBold = await fetch( new URL("../fonts/GeistVF.woff", import.meta.url), ).then((res) => res.arrayBuffer()); return new ImageResponse(
json-render
, { width: 1200, height: 630, fonts: [ { name: "Geist", data: geistSemiBold, style: "normal", weight: 600, }, ], }, ); }