mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-18 04:34:21 +01:00
Fix documentation page broken by CSP
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
@inject BTCPayServer.Security.ContentSecurityPolicies csp
|
||||
@{
|
||||
Layout = null;
|
||||
csp.Add("script-src", "https://cdn.jsdelivr.net");
|
||||
csp.Add("worker-src", "blob:");
|
||||
}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
Reference in New Issue
Block a user