-
Notifications
You must be signed in to change notification settings - Fork 2k
fix(docs): update redirects rule to resolve access issue on getting-started
index page
#10296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…tarted index page
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@ohprettyhak is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
@@ -40,11 +40,6 @@ const config = { | |||
}, | |||
redirects() { | |||
return [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return [ | |
return [ | |
{ | |
source: "/docs/getting-started", | |
destination: "/repo/docs/getting-started/installation", | |
permanent: true, | |
}, |
If the Getting Started index page is no longer needed, it would be more appropriate to update the redirect rule to point directly to /getting-started/installation
instead.
getting-started
index page
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good find! Thank you!
CI is stuck on unrelated checks. Merging past these. |
Description
This PR fixes a redirection issue where clicking the “Next: Getting Started” button at the bottom of the Introduction page in the Turborepo docs incorrectly navigates back to the Introduction page.
The root cause is a redirect rule defined in
next.config.ts
that overrides the expected navigation.To resolve this, the conflicting
redirects
rule has been removed to allow proper access to the Getting Started index page.Testing Instructions