fix
This commit is contained in:
@@ -31,10 +31,10 @@
|
|||||||
.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...');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user