From 97231bb4775911f86bf228f32507950e218ac2e9 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 23 Jun 2023 11:07:42 +0200 Subject: [PATCH] fix --- app/Http/Livewire/Server/PrivateKey.php | 2 ++ config/version.php | 2 +- versions.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Http/Livewire/Server/PrivateKey.php b/app/Http/Livewire/Server/PrivateKey.php index acfd864d5..36cc12bb8 100644 --- a/app/Http/Livewire/Server/PrivateKey.php +++ b/app/Http/Livewire/Server/PrivateKey.php @@ -19,6 +19,8 @@ public function checkConnection() $uptime = instant_remote_process(['uptime'], $this->server); if ($uptime) { Toaster::success('Server is reachable with this private key.'); + $this->server->settings->is_reachable = true; + $this->server->settings->is_usable = true; } } catch (\Exception $e) { $this->server->settings->is_reachable = false; diff --git a/config/version.php b/config/version.php index 8c76956cb..3fde23929 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@