diff --git a/app/Livewire/Server/Navbar.php b/app/Livewire/Server/Navbar.php index 17c30e0f8..6da1edd77 100644 --- a/app/Livewire/Server/Navbar.php +++ b/app/Livewire/Server/Navbar.php @@ -75,7 +75,7 @@ public function restart() // Always use background job for all servers RestartProxyJob::dispatch($this->server); - $this->dispatch('info', 'Proxy restart initiated.'); + // $this->dispatch('info', 'Proxy restart initiated.'); // Reset the flag after a short delay to allow future restarts $this->restartInitiated = false; @@ -171,15 +171,15 @@ public function showNotification($event = null) } break; case 'stopping': - $this->dispatch('info', 'Proxy is stopping.'); + // $this->dispatch('info', 'Proxy is stopping.'); $this->lastNotifiedStatus = $this->proxyStatus; break; case 'starting': - $this->dispatch('info', 'Proxy is starting.'); + // $this->dispatch('info', 'Proxy is starting.'); $this->lastNotifiedStatus = $this->proxyStatus; break; case 'restarting': - $this->dispatch('info', 'Proxy is restarting.'); + // $this->dispatch('info', 'Proxy is restarting.'); $this->lastNotifiedStatus = $this->proxyStatus; break; case 'error': diff --git a/resources/views/livewire/server/navbar.blade.php b/resources/views/livewire/server/navbar.blade.php index 8525f5d60..b0802ed1e 100644 --- a/resources/views/livewire/server/navbar.blade.php +++ b/resources/views/livewire/server/navbar.blade.php @@ -2,6 +2,13 @@ Proxy Startup Logs + @if ($server->id === 0) +
+ Note: This is the localhost server where Coolify runs. + During proxy restart, the connection may be temporarily lost. + If logs stop updating, please refresh the browser after a few minutes. +
+ @endif