Replace the file-extension check with a regex whitelist of known client
routes. Only whitelisted paths serve index.html for React Router — all
other paths return a real 404.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Covers all work from this session:
- Restock history tracking (stock_adjustments table, logging)
- Payment tracking (payment_method, amount_paid on orders)
- Reports page (5 report sections, date filtering)
- Girl Scouts trefoil logo
- Mobile network access (Vite host: true)
- Bugs found and fixed during development iteration
- Full code review fixes (P0-P3): batching bug, ID validation,
delete reference checks, audit trail enforcement, global error
handler, input validation, client robustness, schema migrations,
useEffect deps
- README and CLAUDE.md documentation updates
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>