tolerate trailing slashes in httpSafeDomain

This commit is contained in:
ansuz
2020-04-03 10:37:23 -04:00
parent 3b05d24f10
commit 9fa93172cf
2 changed files with 6 additions and 12 deletions

View File

@@ -31,10 +31,6 @@ define([
ApiConfig.httpSafeOrigin + window.location.pathname + 'inner.html?' +
requireConfig.urlArgs + '#' + encodeURIComponent(JSON.stringify(req)));
console.log(ApiConfig.httpSafeOrigin);
console.error(document.getElementById('sbox-iframe').getAttribute('src'));
// This is a cheap trick to avoid loading sframe-channel in parallel with the
// loading screen setup.
var done = waitFor();