diff --git a/packages/astro/src/core/request.ts b/packages/astro/src/core/request.ts index 4c64fd7b5a..f82b2e4bb5 100644 --- a/packages/astro/src/core/request.ts +++ b/packages/astro/src/core/request.ts @@ -14,12 +14,14 @@ export function createRequest(url: URL | string, headers: HeaderType, method: st Object.defineProperties(request, { canonicalURL: { get() { + /* eslint-disable no-console */ console.warn(`Astro.request.canonicalURL has been moved to Astro.canonicalURL`); return undefined; } }, params: { get() { + /* eslint-disable no-console */ console.warn(`Astro.request.params has been moved to Astro.params`); return undefined; }