From 0d05d880ee3ccf6921420b7847bef0390478c516 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 12 Dec 2017 10:47:01 +0100 Subject: [PATCH] Fix the bounce app --- www/bounce/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/bounce/main.js b/www/bounce/main.js index d2687308d..5b122f074 100644 --- a/www/bounce/main.js +++ b/www/bounce/main.js @@ -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;