hvac/frontend/public/kiosk-manifest.webmanifest
jtricerolph 9b4e49b801 Fix kiosk 'Install' installing the main hvac app instead
The whole hvac SPA shares one index.html/<link rel=manifest>, so 'Install'
from any route always used the main manifest (start_url '/hvac/', staff
AuthGate) -- hit 2026-08-26, installing from /hvac/kiosk opened the staff
login instead of the kiosk password prompt.

Fix: new static kiosk-manifest.webmanifest (start_url/scope '/hvac/kiosk',
name 'HVAC Kiosk'), swapped into the document's manifest link while the
Kiosk route is mounted (useKioskManifest hook), restored on unmount. Reuses
the existing hvac icon set.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-27 09:34:35 +00:00

13 lines
386 B
JSON

{
"name": "HVAC Kiosk",
"short_name": "HVAC Kiosk",
"start_url": "/hvac/kiosk",
"scope": "/hvac/kiosk",
"display": "standalone",
"theme_color": "#c1440e",
"background_color": "#c1440e",
"icons": [
{ "src": "/hvac/icons/icon-192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/hvac/icons/icon-512.png", "sizes": "512x512", "type": "image/png" }
]
}