[ ] π Documentation (updates to the documentation, readme or JSdoc annotations)
[x] π Bug fix (a non-breaking change that fixes an issue)
[ ] π Enhancement (improving an existing functionality like performance)
[ ] β¨ New feature (a non-breaking change that adds functionality)
[ ] π§Ή Chore (updates to the build process or auxiliary tools and libraries)
[ ] β οΈ Breaking change (fix or feature that would cause existing functionality to change)
π Description
Resolves #2855
Not sure how to test this exactly π€
These changes removes/ignores the / entry route added by nitro during prerendering and adds localized entry pages to use instead. This also excludes the / route from the generated build, which I think is/was the original behavior when running generate with strategy prefix (currently without these changes this throws an error).
When not prerendering we re-add the index page (not localized) so that requests on root can be redirected.
π Linked issue
2855
β Type of change
π Description
Resolves #2855
Not sure how to test this exactly π€
These changes removes/ignores the
/
entry route added by nitro during prerendering and adds localized entry pages to use instead. This also excludes the/
route from the generated build, which I think is/was the original behavior when running generate with strategy prefix (currently without these changes this throws an error).When not prerendering we re-add the index page (not localized) so that requests on root can be redirected.
π Checklist