Closed Jelenkee closed 1 year ago
astro
1.9.1
no
npm
Linux
When printing out the routeData for a dynamic route (e.g. test-[id].astro), a url for a specific page is printed.
Perhaps you should remove the distURL for dynamic routes. Or even better, add all URLs for the route to the routeData
https://stackblitz.com/edit/github-9zdqva?file=astro.config.mjs,src%2Fpages%2Ftest-[id].astro&on=stackblitz
What version of
astro
are you using?1.9.1
Are you using an SSR adapter? If so, which one?
no
What package manager are you using?
npm
What operating system are you using?
Linux
Describe the Bug
When printing out the routeData for a dynamic route (e.g. test-[id].astro), a url for a specific page is printed.
Perhaps you should remove the distURL for dynamic routes. Or even better, add all URLs for the route to the routeData
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-9zdqva?file=astro.config.mjs,src%2Fpages%2Ftest-[id].astro&on=stackblitz
Participation