mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -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>
317 B
317 B
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.