From 6196e819534da101045a47c55c2bf9e73ba77617 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 14 Feb 2022 12:38:54 +0530 Subject: [PATCH] WIP checkup tests --- www/checkup/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/checkup/main.js b/www/checkup/main.js index 822f510c9..0fc0e0e3c 100644 --- a/www/checkup/main.js +++ b/www/checkup/main.js @@ -91,8 +91,6 @@ define([ console.error(err); } - - assert(function (cb, msg) { msg.appendChild(h('span', [ "CryptPad's sandbox requires that both ", @@ -1022,6 +1020,8 @@ define([ $sandbox, API_URL.origin, isHTTPS(fileHost)? fileHost: undefined, + AppConfig.accounts_api, + ![trimmedUnsafe, trimmedSafe].includes(ACCOUNTS_URL)? ACCOUNTS_URL: undefined, ], 'img-src': ["'self'", 'data:', 'blob:', $outer], 'media-src': ['blob:'],