|
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
StaticFiles(html=True) only serves index.html for directory paths, which 404s on /scenarios, /what-if, /scenarios/123 — anything React Router owns. Subclass StaticFiles to catch the 404 from get_response and return index.html so the SPA can take over routing client-side. API routes still match first (under /api/* in prod), so no risk of shadowing. Found via headless verification through chrome-service: dashboard loaded 200 + nav rendered, but /scenarios + /what-if returned 404. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| ingest | ||
| reporters | ||
| returns | ||
| strategies | ||
| tax | ||
| __init__.py | ||
| __main__.py | ||
| app.py | ||
| db.py | ||
| fx.py | ||
| glide_path.py | ||
| life_events.py | ||
| scenarios.py | ||
| simulator.py | ||