@angular/ssr 22.0.0 → 22.1.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/ssr.mjs +1 -1
- package/fesm2022/ssr.mjs.map +1 -1
- package/package.json +11 -11
- package/third_party/beasties/index.js +38 -31
- package/third_party/beasties/index.js.map +1 -1
package/fesm2022/ssr.mjs
CHANGED
|
@@ -252,7 +252,7 @@ function createRedirectResponse(location, status = 302, headers) {
|
|
|
252
252
|
}
|
|
253
253
|
const resHeaders = new Headers(headers);
|
|
254
254
|
if (ngDevMode && resHeaders.has('location')) {
|
|
255
|
-
console.warn(`Location header "${resHeaders.get('location')}" will ignored and set to "${location}".`);
|
|
255
|
+
console.warn(`Location header "${resHeaders.get('location')}" will be ignored and set to "${location}".`);
|
|
256
256
|
}
|
|
257
257
|
const varyArray = resHeaders.get('Vary')?.split(',') ?? [];
|
|
258
258
|
const varySet = new Set(['X-Forwarded-Prefix']);
|