This commit is contained in:
Andras Bacsai 2023-06-15 11:26:18 +02:00
parent a489d95ea1
commit 766a3d490a

View File

@ -31,10 +31,10 @@
.then(response => {
if (response.ok) {
Toaster.success('Coolify is back online. Reloading...')
if (checkHealthInterval) clearInterval(checkHealthInterval);
setTimeout(() => {
if (checkHealthInterval) clearInterval(checkHealthInterval);
window.location.reload();
}, 2000)
}, 5000)
} else {
console.log('Waiting for server to come back from dead...');
}