Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging

pull/1/head
yflory 5 years ago
commit e837853e04

@ -102,6 +102,7 @@ var list = Tasks.list = function (env, cb, migration) {
root: env.root, root: env.root,
error: e, error: e,
}); });
w.abort();
return void cb(e); return void cb(e);
} }
if (list.length === 0) { if (list.length === 0) {

@ -55,7 +55,7 @@ if (process.env.PACKAGE) {
config.httpPort = 3000; config.httpPort = 3000;
} }
if (typeof(httpSafeOrigin) !== 'string') { if (typeof(config.httpSafeOrigin) !== 'string') {
if (typeof(config.httpSafePort) !== 'number') { if (typeof(config.httpSafePort) !== 'number') {
config.httpSafePort = config.httpPort + 1; config.httpSafePort = config.httpPort + 1;
} }

Loading…
Cancel
Save