pr_01m47d15m3e54sn21z27rpy5n9/apps/web/app/routes/status-json.ts
Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look | 1 | /** |
| 2 | * The live status as JSON: what /status shows and what the footer's dot | |
| 3 | * is coloured by. Public, with no viewer in it, so browsers and the edge | |
| 4 | * may keep it for a minute. | |
| 5 | */ | |
| 6 | import { STATUS_HEADERS, currentStatus } from "../lib/status.server"; | |
| 7 | ||
| 8 | export async function loader() { | |
| 9 | return Response.json(await currentStatus(), { headers: STATUS_HEADERS }); | |
| 10 | } |