From bccca6e87417cf9797ac143119d78852f056ba49 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 15 Jan 2024 09:03:46 +0100 Subject: [PATCH] add docs to server validation --- app/Livewire/Server/Form.php | 4 ++-- app/Livewire/Server/ShowPrivateKey.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Livewire/Server/Form.php b/app/Livewire/Server/Form.php index d81d69e8f..466ca5472 100644 --- a/app/Livewire/Server/Form.php +++ b/app/Livewire/Server/Form.php @@ -76,7 +76,7 @@ class Form extends Component $this->server->settings->is_usable = true; $this->server->settings->save(); } else { - $this->dispatch('error', 'Server is not reachable. Please check your connection and configuration.'); + $this->dispatch('error', 'Server is not reachable.
Please validate your configuration and connection. See this documentation.'); return; } } @@ -85,7 +85,7 @@ class Form extends Component try { $uptime = $this->server->validateConnection(); if (!$uptime) { - $install && $this->dispatch('error', 'Server is not reachable. Please check your connection and configuration.'); + $install && $this->dispatch('error', 'Server is not reachable.
Please validate your configuration and connection. See this documentation.'); return; } $supported_os_type = $this->server->validateOS(); diff --git a/app/Livewire/Server/ShowPrivateKey.php b/app/Livewire/Server/ShowPrivateKey.php index 8478094ad..a39765c71 100644 --- a/app/Livewire/Server/ShowPrivateKey.php +++ b/app/Livewire/Server/ShowPrivateKey.php @@ -39,7 +39,7 @@ class ShowPrivateKey extends Component if ($uptime) { $this->dispatch('success', 'Server is reachable.'); } else { - $this->dispatch('error', 'Server is not reachable. Please check your connection and private key configuration.'); + $this->dispatch('error', 'Server is not reachable.
Please validate your configuration and connection. See this documentation.'); return; } } catch (\Throwable $e) {