import { NextResponse } from 'next/server';

export async function GET() {
    return NextResponse.json({
        vapid: {
            public_present: !!process.env.NEXT_PUBLIC_VAPID_PUBLIC_KEY,
            private_present: !!process.env.VAPID_PRIVATE_KEY,
            subject_present: !!process.env.VAPID_SUBJECT,
            env_keys: Object.keys(process.env).filter(k => k.includes('VAPID'))
        }
    });
}
