You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nginx: only serve the SPA shell to browser navigation
The SPA fallback answered every unmatched path with index.html and a 200,
including missing assets and mistyped fetch() paths — a "not found" then
surfaces as a parse error somewhere downstream instead of a 404.
Restrict the fallback to GET/HEAD requests that accept HTML, which is what
browsers send when navigating; everything else keeps its 404. This is the
rule FastAPI's app.frontend() applies, so a stack that later serves the
build from FastAPI behaves the same way.
The Docker job now asserts both halves of the rule.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011texLkDBELWbXsBf6San3M
0 commit comments