Inaccurate route collision error #11957
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
needs triage
Issue needs to be triaged
Astro Info
If this issue only occurs in one browser, which browser is a problem?
n/a
Describe the Bug
In an Astro project with:
[...slug]
)index.astro
orindex.ts
insrc/pages/
Requests for
/
trigger aPrerenderDynamicEndpointPathCollide
error even when there are no collisions.What's the expected result?
When there are no collisions, a collision error should not be raised.
Details about the reproduction:
astro.config.mjs
injects two routes/page
the other at/test
— these both load successfully/
triggers the error (should be a 404)Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-dm88gb?file=entrypoint-page.ts,entrypoint-test.ts,astro.config.mjs
Participation
The text was updated successfully, but these errors were encountered: