Register lights kiosk screen (view + control)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-10-15 11:22:16 +00:00
parent 3052113d31
commit 198270a59b

View file

@ -664,6 +664,7 @@ export async function initDb() {
// settings/manage capability). // settings/manage capability).
for (const k of [ for (const k of [
{ slug: 'hvac', path: '/hvac/kiosk', caps: ['view', 'control'] }, { slug: 'hvac', path: '/hvac/kiosk', caps: ['view', 'control'] },
{ slug: 'lights', path: '/lights/kiosk', caps: ['view', 'control'] },
]) { ]) {
await pool.query('UPDATE apps SET kiosk_path = $1, kiosk_caps = $2 WHERE slug = $3', [k.path, k.caps, k.slug]) await pool.query('UPDATE apps SET kiosk_path = $1, kiosk_caps = $2 WHERE slug = $3', [k.path, k.caps, k.slug])
} }