time out if checkup test #7 doesn't call back in 30s

pull/1/head
ansuz 3 years ago
parent 3f1b6ba74d
commit c774a5d06e

@ -255,6 +255,11 @@ define([
]));
}));
// time out after 30 seconds
setTimeout(function () {
cb('TIMEOUT');
}, 30000);
var bytes = new Uint8Array(Login.requiredBytes);
var opt = Login.allocateBytes(bytes);
@ -727,8 +732,6 @@ define([
'. ',
RESTART_WARNING(),
]));
console.error("HTTPS?", trimmedUnsafe, trimmedSafe);
cb(isHTTPS(trimmedUnsafe) && isHTTPS(trimmedSafe));
});

Loading…
Cancel
Save