-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 BUG: Werid behaviour with Astro.canonicalURL.pathname and Astro.canonicalURL.href with /1
route?
#3058
🐛 BUG: Werid behaviour with Astro.canonicalURL.pathname and Astro.canonicalURL.href with /1
route?
#3058
Comments
/1
route?
Thanks for including a simple reproduction here! Looks like we have a couple bugs related to numeric route params, picking this up now to see if we can knock out this and #3082 at the same time 👍 |
Confirmed this is still an issue in the latest beta release I haven't tracked down where the routing inconsistency comes from yet, but we had an issue in non-SSR builds that was automatically removing |
What version of
astro
are you using?^1.0.0-beta.5
What package manager are you using?
npm
What operating system are you using?
Linux
Describe the Bug
Video of display the bug
2022-04-10.18-37-43.mp4
TLDW
So when having numerical id routes like
/1
,/2
,/3
everything behaves as expected but/1
which for some reasonAstro.canonicalURL.pathname
andAstro.canonicalURL.href
as index page (/
)Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-hadnau
Participation
The text was updated successfully, but these errors were encountered: