feat: add VITE_MAINTENANCE_MODE env var for service screen

Set VITE_MAINTENANCE_MODE=true in .env to show an "Under Service"
screen and block all transactions. No hardware init, no Lightning
connection — just a static screen.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Patrick Mulligan 2026-03-28 00:50:34 -04:00
commit ca6d8c4f68
5 changed files with 34 additions and 3 deletions

View file

@ -49,6 +49,13 @@ VITE_ATM_PRIVATE_KEY=
# (manual dispense, remote management). Decoupled from Lightning.Pub identity.
# VITE_OPERATOR_PUBKEYS=abcd1234...,ef567890...
# =============================================================================
# Maintenance Mode
# =============================================================================
# Show "Under Service" screen and block all transactions
# VITE_MAINTENANCE_MODE=true
# =============================================================================
# Mock Fallback (Production Safety)
# =============================================================================