import { readFile } from 'node:fs/promises'; import { join } from 'node:path'; export const runtime = 'nodejs'; // Keep the existing image endpoint consistent with the static social card. export async function GET() { const image = await readFile(join(process.cwd(), 'public/og/jotley-v2.png')); return new Response(new Uint8Array(image), { headers: { 'Content-Type': 'image/png' }, }); }