Merge pull request #822 from tomyvi/patch-1

Disable SSL checks on API calls
This commit is contained in:
KodeStar 2022-04-12 11:56:04 +01:00 committed by GitHub
commit 71d356935f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,7 +131,7 @@ abstract class SupportedApps
{
$zipurl = config('app.appsource').'files/'.$app->sha.'.zip';
$client = new Client(['http_errors' => false, 'timeout' => 60, 'connect_timeout' => 15]);
$client = new Client(['http_errors' => false, 'timeout' => 60, 'connect_timeout' => 15, 'verify' => false]);
$res = $client->request('GET', $zipurl);
if (! file_exists(app_path('SupportedApps'))) {