import { NextResponse } from 'next/server'; /** * Liveness probe — confirms the Next.js process is responding. * * Returns 200 unconditionally; if the process is wedged or has crashed * the request never lands here at all. Do NOT include database/Redis/MinIO * checks in this endpoint — a transient downstream blip should drop the * pod from the load balancer (readiness), not restart the pod (liveness). * * For deep dependency checks, hit `/api/ready` instead. */ export async function GET() { return NextResponse.json({ status: 'ok', timestamp: new Date().toISOString() }); }