diff --git a/app/Commands/ServerAwareCommand.php b/app/Commands/ServerAwareCommand.php index 87f5962..00fecdf 100644 --- a/app/Commands/ServerAwareCommand.php +++ b/app/Commands/ServerAwareCommand.php @@ -89,7 +89,9 @@ abstract class ServerAwareCommand extends Command protected function lookupRemoteServers() { try { - return Http::get(config('expose.server_endpoint', static::DEFAULT_SERVER_ENDPOINT))->json(); + return Http::withOptions([ + 'verify' => false, + ])->get(config('expose.server_endpoint', static::DEFAULT_SERVER_ENDPOINT))->json(); } catch (\Throwable $e) { return []; } diff --git a/app/Commands/ServerListCommand.php b/app/Commands/ServerListCommand.php index 35ea258..e543bc6 100644 --- a/app/Commands/ServerListCommand.php +++ b/app/Commands/ServerListCommand.php @@ -33,7 +33,9 @@ class ServerListCommand extends Command protected function lookupRemoteServers() { try { - return Http::get(config('expose.server_endpoint', static::DEFAULT_SERVER_ENDPOINT))->json(); + return Http::withOptions([ + 'verify' => false, + ])->get(config('expose.server_endpoint', static::DEFAULT_SERVER_ENDPOINT))->json(); } catch (\Throwable $e) { return []; } diff --git a/config/app.php b/config/app.php index 68753cb..d83ad80 100644 --- a/config/app.php +++ b/config/app.php @@ -26,7 +26,7 @@ return [ | */ - 'version' => '2.0.1', + 'version' => '2.0.2', /* |--------------------------------------------------------------------------