Skip to content

[...slug].astro is not functioning properly #15840

@chaegumi

Description

@chaegumi

Astro Info

Astro                    v6.0.2
Node                     v22.14.0
System                   Windows (x64)
Package Manager          pnpm
Output                   static
Adapter                  none
Integrations             none

If this issue only occurs in one browser, which browser is a problem?

all

Describe the Bug

The code runs without issues in version 5.18.1 but fails to run in version 6.0.2. I didn't find any relevant explanations in the upgrade log

https://qgnijqpxyvgithub-gy3h--4321--8222896c.local-credentialless.webcontainer.io/about-us.html
astro 6.0.2 return 404 not found
astro 5.18.1 work

What's the expected result?

Slug should have a value.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-8nxpbjfv?file=src%2Fpages%2F%5B...slug%5D.astro

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

Labels

- P4: importantViolate documented behavior or significantly impacts performance (priority)in reviewHas been triaged but not yet decided if it is a bug or not.pkg: astroRelated to the core `astro` package (scope)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions