11 lines
283 B
TypeScript
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 });
|
|
}
|