fix: SPA fallback returns 200 instead of 404 for client-side routes
ServeDir::not_found_service serves index.html but preserves the 404 status code. Switch to ServeDir::fallback which returns 200, fixing client-side routes like /login returning 404 to the browser. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>master
parent
1a6773b159
commit
6d5dd23a6b
Loading…
Reference in New Issue