-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Static File Endpoints broken with trailingSlash: "always" in development #10149
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)feat: devRelated to `astro dev` CLI command (scope)Related to `astro dev` CLI command (scope)regression
Description
Astro Info
Astro v4.4.0
Node v20.10.0
System macOS (arm64)
Package Manager pnpm
Output static
Adapter none
Integrations astro-icon
@astrojs/mdx
@astrojs/sitemap
@astrojs/tailwind
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Since astro@4.1.0, Static File Endpoints return 404 in development (running astro dev) when trailingSlash: "always" is set in the Astro config.
What's the expected result?
Static File Endpoints should work as they did before merging #9597.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-fy7uro?file=src%2Fpages%2Ftest.json.js
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)feat: devRelated to `astro dev` CLI command (scope)Related to `astro dev` CLI command (scope)regression