0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-24 22:46:02 -05:00
astro/.changeset/nervous-pens-retire.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
332 B
Markdown
Raw Normal View History

---
"astro": patch
---
It's not possible anymore to use `Astro.rewrite("/404")` inside static pages. This isn't counterproductive because Astro will end-up emitting a page that contains the HTML of 404 error page.
It's still possible to use `Astro.rewrite("/404")` inside on-demand pages, or pages that opt-out from prerendering.