Files
WebForm-mw/app/healthz/route.ts

14 lines
354 B
TypeScript

/**
* GET /healthz
*
* Lightweight health check for Render's load-balancer. Returns 200 OK
* without making any external calls. Use /api/health for the deeper
* Civi-side diagnostic.
*/
import { NextResponse } from "next/server";
export async function GET() {
return NextResponse.json({ ok: true, service: "coop-checkin" }, { status: 200 });
}