feat: initialize mohfarawati app foundation
CI / quality (push) Waiting to run

This commit is contained in:
MOH
2026-03-06 13:53:57 +01:00
parent 30330c4f1e
commit f86b7f39f7
50 changed files with 4615 additions and 152 deletions
+25
View File
@@ -0,0 +1,25 @@
import { NextResponse } from "next/server";
import { getMaintenanceMode } from "@/lib/app-config";
export const dynamic = "force-dynamic";
export async function GET() {
try {
const enabled = await getMaintenanceMode();
return NextResponse.json(
{
enabled,
},
{ status: 200 },
);
} catch {
return NextResponse.json(
{
enabled: false,
},
{ status: 200 },
);
}
}