Align backend plan with codebase

This commit is contained in:
adilallo committed 2026-04-04 22:20:02 -06:00
1 parent fe54390849
commit c8e930552b
36 files changed
+2216 -2

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import { NextResponse } from "next/server";
export function dbUnavailable(): NextResponse {
return NextResponse.json(
{ error: "Database is not configured (DATABASE_URL)." },
{ status: 503 },
);
}