From 4c999c3ff28e1f696cb1d36cfce7d62a9cffce48 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 28 Apr 2023 15:32:50 +0200 Subject: [PATCH] oops --- resources/views/components/layout.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php index f5901bdf9..192b58f11 100644 --- a/resources/views/components/layout.blade.php +++ b/resources/views/components/layout.blade.php @@ -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;