2026-06-23 20:36:07 -04:00
|
|
|
import { NextResponse } from "next/server"
|
|
|
|
|
|
2026-07-02 13:42:34 -04:00
|
|
|
// Lightweight liveness probe used by the Docker HEALTHCHECK and App Platform.
|
2026-06-23 20:36:07 -04:00
|
|
|
// Intentionally does NOT touch the database — a transient DB blip should not
|
|
|
|
|
// cause the container to be marked unhealthy and restarted.
|
|
|
|
|
export const dynamic = "force-dynamic"
|
|
|
|
|
|
|
|
|
|
export function GET() {
|
|
|
|
|
return NextResponse.json({
|
|
|
|
|
status: "ok",
|
|
|
|
|
service: "property-management-network",
|
|
|
|
|
timestamp: new Date().toISOString(),
|
|
|
|
|
})
|
|
|
|
|
}
|