What version of astro are you using?
v2.8.0
Are you using an SSR adapter? If so, which one?
Node
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
When output: "hybrid", accessing a non-existent page, the custom 404 page cannot be found.
Automatically add '/' after the URL
Step:
1.npm run build
2.HOST=0.0.0.0 PORT=3000 node dist/server/entry.mjs
3.localhost:3000/en/test/asd
4.Custom 404 page not found
What's the expected result?
- Find the custom 404 page
- Remove the trailing slash
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-nhc9gb-malcwc?file=astro.config.mjs
Participation
What version of
astroare you using?v2.8.0
Are you using an SSR adapter? If so, which one?
Node
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
When output: "hybrid", accessing a non-existent page, the custom 404 page cannot be found.
Automatically add '/' after the URL
Step:
1.npm run build
2.HOST=0.0.0.0 PORT=3000 node dist/server/entry.mjs
3.localhost:3000/en/test/asd
4.Custom 404 page not found
What's the expected result?
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-nhc9gb-malcwc?file=astro.config.mjs
Participation