Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbod committed Oct 23, 2024
1 parent 16f297e commit 29e5919
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static HeaderPolicyCollection AddDefaultSecurityHeaders(this HeaderPolicy
builder.AddFormAction().Self();
builder.AddFrameAncestors().None();
});
policies.AddCrossOriginResourcePolicy(builder => builder.SameOrigin());
policies.AddCrossOriginOpenerPolicy(x => x.SameOrigin());

return policies;
}
Expand Down

0 comments on commit 29e5919

Please sign in to comment.