10 lines366 bytesCodeBlame

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 look1/**
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 */
6import { STATUS_HEADERS, currentStatus } from "../lib/status.server";
7
8export async function loader() {
9 return Response.json(await currentStatus(), { headers: STATUS_HEADERS });
10}