Nested MDX paths with /index
suffix fail in production
#1046
DevinPlumb
started this conversation in
Bugs & Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was using a structure like the following in my
docs.json
:where my file system appeared as follows:
Locally, this displayed properly and allowed me to link to the page with
href="/integrations/github"
:In production, the page appears broken:
Not sure which behavior is expected, but there is a discrepancy between the local development server and the production server. Could stem from how prod handles path normalization for nested index files (whereas the local development server resolves
integrations/github/index
to serve both/integrations/github
and/integrations/github/index
routes).Beta Was this translation helpful? Give feedback.
All reactions