import { loadCookieAlerts } from "../../../lib/cookieAlerts"; import { readRoute } from "../_read"; export const dynamic = "force-dynamic"; // GET /api/ops/services // // The dashboard's cookie refresh alerts (`loadCookieAlerts`, the same payload // /api/view/cookieAlerts serves): each service whose cookies look stale // ("stale") or answered cleanly again within the day ("ok-again", with the // jobs the alert stopped), and the services with a first signal waiting for a // second (`pending` — Rumble's two-videos rule). export async function GET(request: Request) { return readRoute(request, [], async () => ({ ...(await loadCookieAlerts()) })); }