diff --git a/Lombiq.JsonEditor/Services/JsonEditorContentSecurityPolicyProvider.cs b/Lombiq.JsonEditor/Services/JsonEditorContentSecurityPolicyProvider.cs index e9fe6bd..27cd27d 100644 --- a/Lombiq.JsonEditor/Services/JsonEditorContentSecurityPolicyProvider.cs +++ b/Lombiq.JsonEditor/Services/JsonEditorContentSecurityPolicyProvider.cs @@ -31,7 +31,7 @@ protected override ValueTask ThenUpdateAsync( // directive" error. if (resourceExists) { - securityPolicies[ScriptSrc] = IContentSecurityPolicyProvider + securityPolicies[ScriptSrc] = ContentSecurityPolicyProvider .GetDirective(securityPolicies, ScriptSrc) .MergeWordSets(DirectiveValue); }