Describe the bug
Both kit.svelte.dev and svelte.dev are not showing the 404 page correctly.
e.g., https://kit.svelte.dev/abc CC: PuruVJ
EDIT: See #10556 (comment)
Reproduction
https://github.com/gtm-nayan/kit-sandbox/tree/prerendered-endpoint-repro
- Build the site.
- Run
pnpm preview
- Navigate to a missing route e.g.,
/abc.
Expected: The +error.svelte page is rendered with a 404 status.
Actual: The fallback error.html page is used and the status is 500.
Logs
No response
System Info
Severity
annoyance
Additional Information
No response