summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matt Kane <m@mk.gg> 2024-12-19 12:28:36 +0000
committerGravatar GitHub <noreply@github.com> 2024-12-19 12:28:36 +0000
commit73b6c8b1b35c320c29e6b628759f37903a4390bc (patch)
treea686fff4877d900c3378bb3f6cecce97e3148b2e
parent3f557b2e3268d385454e505c1eebe52b180118a4 (diff)
downloadastro-73b6c8b1b35c320c29e6b628759f37903a4390bc.tar.gz
astro-73b6c8b1b35c320c29e6b628759f37903a4390bc.tar.zst
astro-73b6c8b1b35c320c29e6b628759f37903a4390bc.zip
chore: fix links in session errors (#12787)
-rw-r--r--packages/astro/src/core/errors/errors-data.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts
index 646766ae0..2fde7bbac 100644
--- a/packages/astro/src/core/errors/errors-data.ts
+++ b/packages/astro/src/core/errors/errors-data.ts
@@ -871,7 +871,7 @@ export const AstroResponseHeadersReassigned = {
/**
* @docs
* @see
- * - [experimental.session](https://5-0-0-beta.docs.astro.build/en/reference/configuration-reference/#experimentalsession)
+ * - [experimental.session](https://docs.astro.build/en/reference/experimental-flags/sessions/)
* @description
* Thrown when the session storage could not be initialized.
*/
@@ -880,13 +880,13 @@ export const SessionStorageInitError = {
title: 'Session storage could not be initialized.',
message: (error: string, driver?: string) =>
`Error when initializing session storage${driver ? ` with driver ${driver}` : ''}. ${error ?? ''}`,
- hint: 'For more information, see https://5-0-0-beta.docs.astro.build/en/reference/configuration-reference/#experimentalsession',
+ hint: 'For more information, see https://docs.astro.build/en/reference/experimental-flags/sessions/',
} satisfies ErrorData;
/**
* @docs
* @see
- * - [experimental.session](https://5-0-0-beta.docs.astro.build/en/reference/configuration-reference/#experimentalsession)
+ * - [experimental.session](https://docs.astro.build/en/reference/experimental-flags/sessions/)
* @description
* Thrown when the session data could not be saved.
*/
@@ -895,7 +895,7 @@ export const SessionStorageSaveError = {
title: 'Session data could not be saved.',
message: (error: string, driver?: string) =>
`Error when saving session data${driver ? ` with driver ${driver}` : ''}. ${error ?? ''}`,
- hint: 'For more information, see https://5-0-0-beta.docs.astro.build/en/reference/configuration-reference/#experimentalsession',
+ hint: 'For more information, see https://docs.astro.build/en/reference/experimental-flags/sessions/',
} satisfies ErrorData;
/**