summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> 2024-12-06 09:14:06 -0400
committerGravatar GitHub <noreply@github.com> 2024-12-06 09:14:06 -0400
commite21c7e67fde1155cf593fd2b40010c5e2c2cd3f2 (patch)
tree542f7da1ca3ae7f1877309f49b66dd5c1daf55c2
parent72c1d5d531d1fb59e29707986405a6aa7f9ca835 (diff)
downloadastro-e21c7e67fde1155cf593fd2b40010c5e2c2cd3f2.tar.gz
astro-e21c7e67fde1155cf593fd2b40010c5e2c2cd3f2.tar.zst
astro-e21c7e67fde1155cf593fd2b40010c5e2c2cd3f2.zip
[error message] updates docs link (#12653)
-rw-r--r--.changeset/bright-gifts-prove.md5
-rw-r--r--packages/astro/src/core/errors/errors-data.ts2
2 files changed, 6 insertions, 1 deletions
diff --git a/.changeset/bright-gifts-prove.md b/.changeset/bright-gifts-prove.md
new file mode 100644
index 000000000..14b1a3bde
--- /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 7d096ac8a..398c956ea 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.
*/