|
|
@ -1,5 +1,5 @@
|
|
|
|
define(['/api/config'], function (ApiConfig) {
|
|
|
|
define(['/api/config'], function (ApiConfig) {
|
|
|
|
if (ApiConfig.httpSafeOrigin === window.location.origin) {
|
|
|
|
if (ApiConfig.httpSafeOrigin !== window.location.origin) {
|
|
|
|
window.alert('The bounce application must only be used from the sandbox domain, ' +
|
|
|
|
window.alert('The bounce application must only be used from the sandbox domain, ' +
|
|
|
|
'please report this issue on https://github.com/xwiki-labs/cryptpad');
|
|
|
|
'please report this issue on https://github.com/xwiki-labs/cryptpad');
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|