diff --git a/.changeset/gentle-chefs-glow.md b/.changeset/gentle-chefs-glow.md new file mode 100644 index 000000000000..b6852a7951f3 --- /dev/null +++ b/.changeset/gentle-chefs-glow.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes warning for external URL redirects diff --git a/packages/astro/src/core/routing/manifest/create.ts b/packages/astro/src/core/routing/manifest/create.ts index 19e6e3006d16..f87d5fcd2511 100644 --- a/packages/astro/src/core/routing/manifest/create.ts +++ b/packages/astro/src/core/routing/manifest/create.ts @@ -461,7 +461,7 @@ export function createRouteManifest( if (/^https?:\/\//.test(destination)) { logger.warn( 'redirects', - `Redirecting to an external URL is not officially supported: ${from} -> ${to}` + `Redirecting to an external URL is not officially supported: ${from} -> ${destination}` ); } }