Routes including index.html
are broken
#2392
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
status: needs triage
This issue has not been triaged by maintainers
Milestone
🐛 Bug Report
In
v1
URLs with and withoutindex.html
properly route to the same page. Inv2
URLs includingindex.html
will result in a "Page not found".react-router
should use a pattern that matches both URLs.Have you read the Contributing Guidelines on issues?
Yes.
To Reproduce
Expected behavior
Both https://v2.docusaurus.io/docs/introduction and https://v2.docusaurus.io/docs/introduction/index.html should take the user to the same page.
Actual Behavior
https://v2.docusaurus.io/docs/introduction/index.html renders this:
Your Environment
The text was updated successfully, but these errors were encountered: