Skip to content

Commit 859406c

Browse files
committed
fixup! fix(@angular/ssr): apply forwarded prefix and vary header in accept-language redirects
1 parent 9e7b7f5 commit 859406c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular/ssr/src/app-engine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export class AngularAppEngine {
147147

148148
if (this.supportedLocales.length > 1) {
149149
// Redirect to the preferred language if i18n is enabled.
150-
return this.redirectBasedOnAcceptLanguage(request);
150+
return this.redirectBasedOnAcceptLanguage(securedRequest);
151151
}
152152

153153
return null;

0 commit comments

Comments
 (0)