trails/apps
Ullrich Schäfer 394daca38e
Serve static assets in planner's custom server
The custom server.ts only had the React Router request handler — static
assets in build/client/ were never served, causing 404s for all JS/CSS
in production. Add a static file handler with path traversal protection
and immutable caching for hashed assets.

Verified locally: HTML 200, assets 200, Cache-Control: immutable on
/assets/*.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 02:01:27 +01:00
..
journal Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00
planner Serve static assets in planner's custom server 2026-03-25 02:01:27 +01:00