Final Push
This commit is contained in:
10
app/api/health/route.ts
Normal file
10
app/api/health/route.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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 });
|
||||
}
|
||||
Reference in New Issue
Block a user