Skip to content

Commit f917793

Browse files
authored
fix(Router): include x-forwarded-host in cache key to fix cross-domain content mismatch (#6384)
1 parent 3ea3ad6 commit f917793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/src/components/aws/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1452,7 +1452,7 @@ async function handler(event) {
14521452
headersConfig: {
14531453
headerBehavior: "whitelist",
14541454
headers: {
1455-
items: ["x-open-next-cache-key"],
1455+
items: ["x-open-next-cache-key", "x-forwarded-host"],
14561456
},
14571457
},
14581458
queryStringsConfig: {

0 commit comments

Comments
 (0)