diff --git a/BTCPayServer/Views/Home/SwaggerDocs.cshtml b/BTCPayServer/Views/Home/SwaggerDocs.cshtml index 63ebc05df..cc429a1ea 100644 --- a/BTCPayServer/Views/Home/SwaggerDocs.cshtml +++ b/BTCPayServer/Views/Home/SwaggerDocs.cshtml @@ -1,5 +1,8 @@ +@inject BTCPayServer.Security.ContentSecurityPolicies csp @{ Layout = null; + csp.Add("script-src", "https://cdn.jsdelivr.net"); + csp.Add("worker-src", "blob:"); }