fix(admin): add /api/health route for k8s readiness probe
This commit is contained in:
parent
19cad7e14a
commit
3995579e56
7
admin/src/app/api/health/route.ts
Normal file
7
admin/src/app/api/health/route.ts
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import { NextResponse } from "next/server";
|
||||||
|
|
||||||
|
export const runtime = "nodejs";
|
||||||
|
|
||||||
|
export async function GET() {
|
||||||
|
return NextResponse.json({ status: "ok" }, { status: 200 });
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user