export const prerender = false; import type { APIRoute } from 'astro'; export const GET: APIRoute = async () => { const key = process.env.VAPID_PUBLIC_KEY; if (!key) return new Response(JSON.stringify({ error: 'VAPID not configured' }), { status: 500, headers: { 'Content-Type': 'application/json' } }); return new Response(JSON.stringify({ key }), { headers: { 'Content-Type': 'application/json' } }); };