Files
LexiChain/app/api/health/route.ts
2026-05-13 21:08:27 +01:00

11 lines
283 B
TypeScript

import { NextResponse } from "next/server";
/**
* Health check endpoint.
* Used by the Docker HEALTHCHECK instruction and load balancers.
* Returns 200 OK when the app is running.
*/
export async function GET() {
return NextResponse.json({ status: "ok" }, { status: 200 });
}