fix
This commit is contained in:
parent
a489d95ea1
commit
766a3d490a
1 changed files with 2 additions and 2 deletions
|
|
@ -31,10 +31,10 @@ function revive() {
|
|||
.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...');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue