Skip to content

Commit 73b6c8b

Browse files
authored
chore: fix links in session errors (#12787)
1 parent 3f557b2 commit 73b6c8b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/astro/src/core/errors/errors-data.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ export const AstroResponseHeadersReassigned = {
871871
/**
872872
* @docs
873873
* @see
874-
* - [experimental.session](https://5-0-0-beta.docs.astro.build/en/reference/configuration-reference/#experimentalsession)
874+
* - [experimental.session](https://docs.astro.build/en/reference/experimental-flags/sessions/)
875875
* @description
876876
* Thrown when the session storage could not be initialized.
877877
*/
@@ -880,13 +880,13 @@ export const SessionStorageInitError = {
880880
title: 'Session storage could not be initialized.',
881881
message: (error: string, driver?: string) =>
882882
`Error when initializing session storage${driver ? ` with driver ${driver}` : ''}. ${error ?? ''}`,
883-
hint: 'For more information, see https://5-0-0-beta.docs.astro.build/en/reference/configuration-reference/#experimentalsession',
883+
hint: 'For more information, see https://docs.astro.build/en/reference/experimental-flags/sessions/',
884884
} satisfies ErrorData;
885885

886886
/**
887887
* @docs
888888
* @see
889-
* - [experimental.session](https://5-0-0-beta.docs.astro.build/en/reference/configuration-reference/#experimentalsession)
889+
* - [experimental.session](https://docs.astro.build/en/reference/experimental-flags/sessions/)
890890
* @description
891891
* Thrown when the session data could not be saved.
892892
*/
@@ -895,7 +895,7 @@ export const SessionStorageSaveError = {
895895
title: 'Session data could not be saved.',
896896
message: (error: string, driver?: string) =>
897897
`Error when saving session data${driver ? ` with driver ${driver}` : ''}. ${error ?? ''}`,
898-
hint: 'For more information, see https://5-0-0-beta.docs.astro.build/en/reference/configuration-reference/#experimentalsession',
898+
hint: 'For more information, see https://docs.astro.build/en/reference/experimental-flags/sessions/',
899899
} satisfies ErrorData;
900900

901901
/**

0 commit comments

Comments
 (0)