more WIP checkup

pull/1/head
ansuz 3 years ago
parent 2e14e8e930
commit ee92ddb813

@ -32,7 +32,7 @@ Default.commonCSP = function (domain, sandbox) {
// for accounts.cryptpad.fr authentication and cross-domain iframe sandbox
"frame-ancestors *",
"worker-src 'self'" + domain + sandbox,
"worker-src 'self'", // + domain + sandbox,
""
];
};

@ -1000,7 +1000,7 @@ define([
'img-src': ["'self'", 'data:', 'blob:', $outer],
'media-src': ['blob:'],
//'frame-ancestors': ['*'], // XXX IFF you want to support remote embedding
'worker-src': ["'self'", $outer, $sandbox],
'worker-src': ["'self'"], // , $outer, $sandbox],
});
cb(result);
});
@ -1037,7 +1037,7 @@ define([
'img-src': ["'self'", 'data:', 'blob:', $outer],
'media-src': ['blob:'],
//'frame-ancestors': ['*'], // XXX IFF you want to support remote embedding
'worker-src': ["'self'", $outer, $sandbox],
'worker-src': ["'self'"],//, $outer, $sandbox],
});
cb(result);

Loading…
Cancel
Save