diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 679806de35..fbc5ee9b7b 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -63,11 +63,10 @@ ```astro --- + // src/pages/es-cu/articles/introduction.astro + return Astro.rewrite("/es/articles/introduction") --- - - // src/pages/es-cu/articles/introduction.astro return Astro.rewrite("/es/articles/introduction") - --- } --- ``` Use `context.rewrite()` in endpoints, for example to reroute to a different page: