Skip to content

Commit

Permalink
Prevent API compatibility errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Feb 21, 2024
1 parent 8bb44dd commit 994371e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected override ValueTask ThenUpdateAsync(
// directive" error.
if (resourceExists)
{
securityPolicies[ScriptSrc] = IContentSecurityPolicyProvider
securityPolicies[ScriptSrc] = ContentSecurityPolicyProvider
.GetDirective(securityPolicies, ScriptSrc)
.MergeWordSets(DirectiveValue);
}
Expand Down

0 comments on commit 994371e

Please sign in to comment.