WIP checkup tests

pull/1/head
ansuz 3 years ago
parent 6a62e28c60
commit 6196e81953

@ -91,8 +91,6 @@ define([
console.error(err); console.error(err);
} }
assert(function (cb, msg) { assert(function (cb, msg) {
msg.appendChild(h('span', [ msg.appendChild(h('span', [
"CryptPad's sandbox requires that both ", "CryptPad's sandbox requires that both ",
@ -1022,6 +1020,8 @@ define([
$sandbox, $sandbox,
API_URL.origin, API_URL.origin,
isHTTPS(fileHost)? fileHost: undefined, isHTTPS(fileHost)? fileHost: undefined,
AppConfig.accounts_api,
![trimmedUnsafe, trimmedSafe].includes(ACCOUNTS_URL)? ACCOUNTS_URL: undefined,
], ],
'img-src': ["'self'", 'data:', 'blob:', $outer], 'img-src': ["'self'", 'data:', 'blob:', $outer],
'media-src': ['blob:'], 'media-src': ['blob:'],

Loading…
Cancel
Save