This commit is contained in:
Cayden Schwechten 2026-10-31 21:20:16 -05:00
commit 6250d23297
53 changed files with 6381 additions and 0 deletions

View file

@ -0,0 +1,10 @@
import { NextResponse } from "next/server";
import { listProviders } from "@/lib/weather/providers";
// Read env vars per request so adding a key doesn't require a rebuild.
export const dynamic = "force-dynamic";
/** GET /api/providers → which providers exist and which have keys configured. */
export function GET() {
return NextResponse.json(listProviders());
}