馃悰 BUG: getStaticPaths() doesn't allow to create a top level root #3990
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
Projects
What version of
astro
are you using?1.0.0-beta.73
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Linux
Describe the Bug
getStaticPaths() should allow to create a top level root page (e.g. a Frontpage derived from a headless CMS along with all other content).
So if I have /pages/[...slug].astro, the empty slug ("") doesn't work and calling / results in a 404.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-lspe41?file=src/pages/[...slug].astro
Participation
The text was updated successfully, but these errors were encountered: