trails/apps/planner
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
..
app Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00
Dockerfile Fix production deploy: TypeScript support + DB schema push 2026-03-25 01:26:16 +01:00
package.json Fix Yjs WebSocket in dev mode 2026-03-23 01:12:13 +01:00
react-router.config.ts Complete monorepo toolchain setup (tasks 1.1-1.7) 2026-03-22 12:12:57 +01:00
server.ts Serve static assets in planner's custom server 2026-03-25 02:01:27 +01:00
tsconfig.json Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00
vite.config.ts Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00