Skip to content

Commit

Permalink
Update errors-data.ts for Astro.rewrite release in 4.13 (#11580)
Browse files Browse the repository at this point in the history
* Update errors-data.ts

* chore: remove unused error

* deprecate the error instead

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
  • Loading branch information
sarah11918 and ematipico authored Jul 31, 2024
1 parent 750d532 commit 6aaeec5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/astro/src/core/errors/errors-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,7 @@ export const MissingMiddlewareForInternationalization = {
} satisfies ErrorData;

/**
* @deprecated
* @docs
* @description
* The user tried to rewrite using a route that doesn't exist, or it emitted a runtime error during its rendering phase.
Expand Down Expand Up @@ -1280,7 +1281,7 @@ export const ServerOnlyModule = {
*
* @see
* - [Request.clone()](https://developer.mozilla.org/en-US/docs/Web/API/Request/clone)
* - [Astro.rewrite](https://docs.astro.build/en/reference/configuration-reference/#experimentalrewriting)
* - [Astro.rewrite](https://docs.astro.build/en/reference/api-reference/#astrorewrite)
*/

export const RewriteWithBodyUsed = {
Expand Down

0 comments on commit 6aaeec5

Please sign in to comment.