Initial push
This commit is contained in:
9
app/api/health/route.ts
Normal file
9
app/api/health/route.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { NextResponse } from "next/server";
|
||||
|
||||
/** Health check endpoint used by Docker and monitoring. */
|
||||
export async function GET() {
|
||||
return NextResponse.json(
|
||||
{ status: "ok", timestamp: Date.now() },
|
||||
{ status: 200 },
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user