Skip to content

Commit

Permalink
remove from the defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbod committed Oct 23, 2024
1 parent 7c1b71b commit 16f297e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public static HeaderPolicyCollection AddDefaultSecurityHeaders(this HeaderPolicy
builder.AddFormAction().Self();
builder.AddFrameAncestors().None();
});
policies.AddCrossOriginEmbedderPolicy(builder => builder.RequireCorp());
policies.AddCrossOriginResourcePolicy(builder => builder.SameOrigin());

return policies;
Expand Down

0 comments on commit 16f297e

Please sign in to comment.