mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
oops
This commit is contained in:
1 parent
906d77e0cc
commit
4c999c3ff2
1 file changed
+2
-2
@@ -33,10 +33,10 @@
|
||||
const res = await fetch('/api/health');
|
||||
if (!res.ok) {
|
||||
console.log('I\'m dead. Charging... Standby... Bzz... Bzz...')
|
||||
} else {
|
||||
console.log('I\'m alive!');
|
||||
checkHealth();
|
||||
if (checkIfIamDeadInterval) clearInterval(checkIfIamDeadInterval);
|
||||
} else {
|
||||
console.log('I\'m alive. Waiting for server to be dead...');
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user