Use resources from the original origin in pad2

This commit is contained in:
Caleb James DeLisle
2017-08-21 18:38:07 +02:00
parent 4089803785
commit 4b70fc9f49
3 changed files with 23 additions and 14 deletions

View File

@@ -8,6 +8,7 @@ define([
var req = {
cfg: RequireConfig,
req: [ '/common/loading.js' ],
pfx: window.location.origin
};
$('#sbox-iframe').attr('src',
ApiConfig.httpSafeOrigin + '/pad2/inner.html?' + ApiConfig.requireConf.urlArgs +