diff options
-rw-r--r-- | packages/astro/src/core/errors/errors-data.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts index ddca721f9..43fc222b2 100644 --- a/packages/astro/src/core/errors/errors-data.ts +++ b/packages/astro/src/core/errors/errors-data.ts @@ -976,7 +976,8 @@ export const RedirectWithNoLocation = { export const UnsupportedExternalRedirect = { name: 'UnsupportedExternalRedirect', title: 'Unsupported or malformed URL.', - message: (from: string, to: string) => `The destination URL in the external redirect from "${from}" to "${to}" is unsupported.`, + message: (from: string, to: string) => + `The destination URL in the external redirect from "${from}" to "${to}" is unsupported.`, hint: 'An external redirect must start with http or https, and must be a valid URL.', } satisfies ErrorData; |