summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/CapsCSP.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/CapsCSP.js b/src/common/CapsCSP.js
index 6621c95..cc1be72 100644
--- a/src/common/CapsCSP.js
+++ b/src/common/CapsCSP.js
@@ -2,7 +2,7 @@
function CapsCSP(baseCSP = new CSP()) {
return Object.assign(baseCSP, {
- types: ["script", "object", "media"],
+ types: ["script", "object", "media", "font"],
dataUriTypes: ["font", "media", "object"],
buildFromCapabilities(capabilities, blockHttp = false) {
let forbidData = new Set(this.dataUriTypes.filter(t => !capabilities.has(t)));