-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[docs] Force /base-ui
redirect
#45083
base: master
Are you sure you want to change the base?
Conversation
Netlify deploy preview
Bundle size reportBundle size will be reported once CircleCI build #789286 finishes. |
https://deploy-preview-45083--material-ui.netlify.app/base-ui/ |
The redirect appears to be correct in the netlify deploy log: https://app.netlify.com/sites/material-ui/deploys/67909b10db98830008a44b56#L1449 |
477c918
to
025df7d
Compare
Turns out https://docs.netlify.com/routing/redirects/rewrites-proxies/#shadowing |
/base-ui
redirect
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.
As @alexfauquette suggested somewhere else, I think it's better to remove the page instead of using !
1851abb
to
17f1a6e
Compare
Deleted the corresponding page to make the redirect work, also added a redirect in the Next.js config (for client side routing)