Full cleanup pass

This commit is contained in:
adilallo
2026-05-21 23:25:56 -06:00
parent 28de8ef3bc
commit 99f535f821
149 changed files with 2623 additions and 1242 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
import { NextResponse } from "next/server";
import { prisma } from "../../../lib/server/db";
import { isDatabaseConfigured } from "../../../lib/server/env";
import { apiRoute } from "../../../lib/server/apiRoute";
export async function GET() {
export const GET = apiRoute("health.get", async () => {
if (!isDatabaseConfigured()) {
return NextResponse.json({
ok: true,
@@ -16,4 +17,4 @@ export async function GET() {
} catch {
return NextResponse.json({ ok: false, database: "error" }, { status: 503 });
}
}
});