apps/web/app/api/health/route.ts
import { NextResponse } from "next/server";
import { dbOk } from "@/lib/db";
export const dynamic = "force-dynamic";
export async function GET() {
const db = await dbOk();
return NextResponse.json({
ok: true,
service: "nineoh-web",
db: db ? "up" : "down",
ts: new Date().toISOString(),
});
}