-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
SSR Cannot Handle [slug].html.astro #15930
Copy link
Copy link
Closed
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)pkg: astroRelated to the core `astro` package (scope)Related to the core `astro` package (scope)
Metadata
Metadata
Assignees
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)pkg: astroRelated to the core `astro` package (scope)Related to the core `astro` package (scope)
Type
Fields
Give feedbackNo fields configured for issues without a type.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
With the following file:
pages/[slug].html.astroWhen accessing
dummy.html, the following error occurs:If the file is changed to
pages/[slug].astro:Accessing
dummy.htmlbecomes possible, but the value assigned to slug does not include.html.What's the expected result?
No error should occur, and it should behave the same as in v5.18.1.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-cb9obzze-viaptect?file=src%2Fpages%2Findex.astro
Participation