Files

13 lines
338 B
TypeScript
Raw Permalink Normal View History

2026-08-17 14:39:44 +02:00
import { configStore } from "@/lib/config/loader";
export const dynamic = "force-dynamic";
export async function GET(): Promise<Response> {
try {
configStore.get();
return Response.json({ status: "ok" });
} catch (err) {
return Response.json({ status: "error", message: (err as Error).message }, { status: 503 });
}
}