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:
parent
d3befc11c1
commit
ca6d8c4f68
5 changed files with 34 additions and 3 deletions
|
|
@ -187,6 +187,9 @@ ipcMain.handle('get-config', () => {
|
|||
|
||||
// Operator identity (comma-separated hex pubkeys)
|
||||
operatorPubkeys: process.env.VITE_OPERATOR_PUBKEYS || '',
|
||||
|
||||
// Maintenance mode — show "out of service" screen
|
||||
maintenanceMode: process.env.VITE_MAINTENANCE_MODE === 'true',
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue