diff options
Diffstat (limited to '.changeset/proud-games-repair.md')
-rw-r--r-- | .changeset/proud-games-repair.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.changeset/proud-games-repair.md b/.changeset/proud-games-repair.md new file mode 100644 index 000000000..8c342e2a3 --- /dev/null +++ b/.changeset/proud-games-repair.md @@ -0,0 +1,7 @@ +--- +'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. |