aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Security/CSP/ContentSecurityPolicy.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Security/CSP/ContentSecurityPolicy.php')
-rw-r--r--lib/private/Security/CSP/ContentSecurityPolicy.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/Security/CSP/ContentSecurityPolicy.php b/lib/private/Security/CSP/ContentSecurityPolicy.php
index 77e20dedf44..de62b5ee76a 100644
--- a/lib/private/Security/CSP/ContentSecurityPolicy.php
+++ b/lib/private/Security/CSP/ContentSecurityPolicy.php
@@ -213,4 +213,12 @@ class ContentSecurityPolicy extends \OCP\AppFramework\Http\ContentSecurityPolicy
$this->allowedFrameAncestors = $allowedFrameAncestors;
}
+ public function getAllowedWorkerSrcDomains(): array {
+ return $this->allowedWorkerSrcDomains;
+ }
+
+ public function setAllowedWorkerSrcDomains(array $allowedWorkerSrcDomains) {
+ $this->allowedWorkerSrcDomains = $allowedWorkerSrcDomains;
+ }
+
}