-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Injected SSR routes not following routing priority order #9392
Copy link
Copy link
Closed
Labels
- P2: nice to haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)
Description
Astro Info
$ astro info
Astro v4.0.3
Node v18.18.0
System Linux (x64)
Package Manager yarn
Output hybrid
Adapter @astrojs/node
Integrations test-integration
If this issue only occurs in one browser, which browser is a problem?
Any browser
Describe the Bug
Non-prerendered routes added by integrations override any existing matching route.
What's the expected result?
The injected route should follow the same route priority order as if it were part of the project.
Link to Minimal Reproducible Example
With project route, working fine: https://stackblitz.com/edit/github-lukzfz-qbzgtv
With injected route, not working: https://stackblitz.com/edit/github-lukzfz-wradsh
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- P2: nice to haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)