mirror of
https://github.com/withastro/astro.git
synced 2025-01-13 22:11:20 -05:00
bdb75a87f2
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> Co-authored-by: Reuben Tier <otterlord.dev@gmail.com> Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
7 lines
317 B
Markdown
7 lines
317 B
Markdown
---
|
|
'astro': patch
|
|
---
|
|
|
|
Adds an error when `Astro.rewrite()` is used to rewrite an on-demand route with a static route when using the `"server"` output.
|
|
|
|
This is a forbidden rewrite because Astro can't retrieve the emitted static route at runtime. This route is served by the hosting platform, and not Astro itself.
|