Skip to content

Commit f7e0ed9

Browse files
committed
Update security headers
1 parent f51aa2f commit f7e0ed9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/BlazorBffAzureB2C/Server/SecurityHeadersDefinitions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ public static HeaderPolicyCollection GetHeaderPolicyCollection(bool isDev, strin
6464
policy.AddStrictTransportSecurityMaxAgeIncludeSubDomains(maxAgeInSeconds: 60 * 60 * 24 * 365);
6565
}
6666

67+
policy.ApplyDocumentHeadersToAllResponses();
68+
6769
return policy;
6870
}
6971
}

0 commit comments

Comments
 (0)