Pages: clarify SPA fallback behavior is for unmatched paths
Fixes #31288.
The SPA-rendering section said Pages "matches all incoming paths to the root (/)", which reads as though every path is served the root. It's actually a fallback: a request for /about is served about.html if that asset exists, and only paths with no matching static asset fall back to /.
Reworded to make the fallback behavior explicit (using the wording suggested by the issue reporter):
Pages' default single-page application behavior serves the root (
/) for any incoming path that does not correspond to a static asset, allowing your application to handle routes like/aboutor/helpclient-side from within your SPA.
Review
✅ No issues found in commit 1e81b4a.
Code Review
This code review is in beta and may not always be helpful — use your judgment.
✅ No code review issues found.
Style Guide Review
✅ No style-guide issues found.
Commands
Only codeowners can run commands. Post a comment with the command to trigger it.
| Command | Description |
|---|---|
/review |
Runs a review now. Incremental if a prior review exists, full if not. |
/full-review |
Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist. |
/ignore-review-limit |
Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal. |
Hey there, we've marked this pull request as stale because there's no recent activity on it. This label helps us identify PRs that might need updates (or to be closed out by our team if no longer relevant).