Custom 404 in SSR with trailingSlash = always
not working
#9079
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
feat: error pages
Related to 404 and 500 handling (scope)
feat: ssr
Related to SSR (scope)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Custom 404 file not being served when
trailingSlash = always
using node adapterIf the value of trailingSlash is either
ignore
ornever
it works fine, contents of custom 404.astro are served for any path or file not foundWhat's the expected result?
Expected result would be the 404.html content being served regardless the trailingSlash value
NOTE: run the reproduction using
npm i && astro build && node dist/server/entry.mjs
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-qag26k?file=astro.config.mjs
Participation
The text was updated successfully, but these errors were encountered: