summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/mighty-mirrors-try.md5
-rw-r--r--packages/astro/src/@types/astro.ts4
2 files changed, 7 insertions, 2 deletions
diff --git a/.changeset/mighty-mirrors-try.md b/.changeset/mighty-mirrors-try.md
new file mode 100644
index 000000000..8198d9fe5
--- /dev/null
+++ b/.changeset/mighty-mirrors-try.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Remove "SSR Only" mention in `Astro.redirect` inline documentation and update reference link.
diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts
index 2c24f74b5..ddffe51df 100644
--- a/packages/astro/src/@types/astro.ts
+++ b/packages/astro/src/@types/astro.ts
@@ -262,7 +262,7 @@ export interface AstroGlobal<
* ```
*/
getActionResult: AstroSharedContext['getActionResult'];
- /** Redirect to another page (**SSR Only**)
+ /** Redirect to another page
*
* Example usage:
* ```typescript
@@ -271,7 +271,7 @@ export interface AstroGlobal<
* }
* ```
*
- * [Astro reference](https://docs.astro.build/en/guides/server-side-rendering/)
+ * [Astro reference](https://docs.astro.build/en/reference/api-reference/#astroredirect)
*/
redirect: AstroSharedContext['redirect'];
/**