@cloudbase/cals 1.2.21-alpha.7 → 1.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -551,7 +551,7 @@ function loadProdMetaScript(bundleName, filename) {
|
|
|
551
551
|
' document.body.appendChild(script);\n' +
|
|
552
552
|
'});\n';
|
|
553
553
|
const scriptOrigin = new URL(filename).origin;
|
|
554
|
-
const csp = `default-src 'none'; script-src 'unsafe-inline' ${scriptOrigin};`;
|
|
554
|
+
const csp = `default-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' ${scriptOrigin};`;
|
|
555
555
|
iframe.srcdoc = `
|
|
556
556
|
<html>
|
|
557
557
|
<head>
|
|
@@ -547,7 +547,7 @@ function loadProdMetaScript(bundleName, filename) {
|
|
|
547
547
|
' document.body.appendChild(script);\n' +
|
|
548
548
|
'});\n';
|
|
549
549
|
const scriptOrigin = new URL(filename).origin;
|
|
550
|
-
const csp = `default-src 'none'; script-src 'unsafe-inline' ${scriptOrigin};`;
|
|
550
|
+
const csp = `default-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' ${scriptOrigin};`;
|
|
551
551
|
iframe.srcdoc = `
|
|
552
552
|
<html>
|
|
553
553
|
<head>
|