diff options
-rw-r--r-- | .changeset/gentle-chefs-glow.md | 5 | ||||
-rw-r--r-- | packages/astro/src/core/routing/manifest/create.ts | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.changeset/gentle-chefs-glow.md b/.changeset/gentle-chefs-glow.md new file mode 100644 index 000000000..b6852a795 --- /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 19e6e3006..f87d5fcd2 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}` ); } } |