Fix the bounce app

This commit is contained in:
yflory 2017-12-12 10:47:01 +01:00
parent b30efff5d1
commit 0d05d880ee
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
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, ' +
'please report this issue on https://github.com/xwiki-labs/cryptpad');
return;