### Astro Info ```block 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](https://docs.astro.build/en/guides/endpoints/#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 https://github.com/withastro/astro/pull/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.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Since
[email protected], Static File Endpoints return 404 in development (runningastro dev) whentrailingSlash: "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