fix: disable Starlight's built-in 404 rout#277
Conversation
|
@Aziz-JH is attempting to deploy a commit to the warpdotdev Team on Vercel. A member of the Team first needs to authorize it. |
|
Every PR must be linked to a same-repo issue before Oz can review it. Next step: open or find a same-repo issue describing this change, then link it to this PR by adding See the contribution guidelines for the full readiness model. Powered by Oz |
There was a problem hiding this comment.
Every PR must be linked to a same-repo issue before Oz can review it.
Next step: open or find a same-repo issue describing this change, then link it to this PR by adding Closes #123 to the PR description (or using the "Development" sidebar on GitHub). A maintainer will mark the issue ready-to-implement when it is ready. Once it is marked, comment /oz-review to re-trigger review.
See the contribution guidelines for the full readiness model.
Powered by Oz
Summary
Follow-up to #264.
Starlight injects its own 404 route on top of our custom
src/pages/404.astro. Settingdisable404Route: trueturns that off so only our page is served.Right now it's just a router warning, but Astro will turn the collision into a hard error soon.
Validation
npm run buildandnpm run typecheckboth pass.