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 => {
|
.then(response => {
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
Toaster.success('Coolify is back online. Reloading...')
|
Toaster.success('Coolify is back online. Reloading...')
|
||||||
|
if (checkHealthInterval) clearInterval(checkHealthInterval);
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (checkHealthInterval) clearInterval(checkHealthInterval);
|
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
}, 2000)
|
}, 5000)
|
||||||
} else {
|
} else {
|
||||||
console.log('Waiting for server to come back from dead...');
|
console.log('Waiting for server to come back from dead...');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue