This commit is contained in:
Andras Bacsai
2023-06-15 11:23:48 +02:00
parent fc039361b6
commit a489d95ea1
5 changed files with 75 additions and 68 deletions

View File

@@ -30,9 +30,8 @@
fetch('/api/health')
.then(response => {
if (response.ok) {
console.log('Server is back online. Reloading...')
Toaster.success('Coolify is back online. Reloading...')
setTimeout(() => {
Toaster.success('Coolify started. Reloading!')
if (checkHealthInterval) clearInterval(checkHealthInterval);
window.location.reload();
}, 2000)