Our maintenance mode is one boolean in a TypeScript file, and it taught us that our sign-in pages are not public

Nakodo has a maintenance mode. The whole of it is this file, src/lib/maintenance.ts, 15 lines: export export function maintenanceResponse(): Response { return new Response("Down for maintenance", { status: 503, headers: { "Retry-After": "600" } }); } No feature flag service, no environment variable, no row in a table. A constant, read in ten places, and changing it is a commit and a deploy. It has been true once, on 12 October 2026, for 23 minutes. Both flips are in the history: 8efb633 2026-10-12 15:05:09 Add maintenance mode for database downtime 5bd22d3 2026-10-12 15:28:33 Disable maintenan
Headline and summary provided via NewsData.io. The full article and its copyright belong to the original publisher.

