--- 'astro': patch --- Refactor `404` and `500` route handling for consistency and improved prerendering support