weather/backend/src
jtricerolph 7f3ff4495c Add editable display title (was hardcoded to VITE_HOTEL_NAME)
New `config` table + routes/config.js: GET /api/public/config (no auth,
Display.tsx needs it with no session) and PUT /api/admin/config (authed +
'settings' cap). A blank title clears the override and falls back to the
build-time VITE_HOTEL_NAME, so an unconfigured install still shows
something sensible. Admin.tsx gets a "Display title" field above the
existing status card.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-25 12:53:09 +00:00
..
lib Display: wind dir/speed + rain%, sunrise/sunset, wrap today, merge Coming up 2026-08-25 12:48:11 +00:00
routes Add editable display title (was hardcoded to VITE_HOTEL_NAME) 2026-08-25 12:53:09 +00:00
auth.js Scaffold weather app: reception forecast display + shared internal API 2026-08-25 12:22:53 +00:00
db.js Add editable display title (was hardcoded to VITE_HOTEL_NAME) 2026-08-25 12:53:09 +00:00
index.js Add editable display title (was hardcoded to VITE_HOTEL_NAME) 2026-08-25 12:53:09 +00:00
ip-check.js Scaffold weather app: reception forecast display + shared internal API 2026-08-25 12:22:53 +00:00