From e21c7e67fde1155cf593fd2b40010c5e2c2cd3f2 Mon Sep 17 00:00:00 2001 From: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> Date: Fri, 6 Dec 2024 09:14:06 -0400 Subject: [PATCH] [error message] updates docs link (#12653) --- .changeset/bright-gifts-prove.md | 5 +++++ packages/astro/src/core/errors/errors-data.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/bright-gifts-prove.md diff --git a/.changeset/bright-gifts-prove.md b/.changeset/bright-gifts-prove.md new file mode 100644 index 0000000000..14b1a3bde1 --- /dev/null +++ b/.changeset/bright-gifts-prove.md @@ -0,0 +1,5 @@ +--- +"astro": patch +--- + +Updates a reference in an error message diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts index 7d096ac8a7..398c956ea8 100644 --- a/packages/astro/src/core/errors/errors-data.ts +++ b/packages/astro/src/core/errors/errors-data.ts @@ -955,7 +955,7 @@ export const AstroGlobNoMatch = { /** * @docs * @see - * - [Astro.redirect](https://docs.astro.build/en/reference/api-reference/#astroredirect) + * - [Astro.redirect](https://docs.astro.build/en/reference/api-reference/#redirect) * @description * A redirect must be given a location with the `Location` header. */