Disable SSL checks on API calls

This commit is contained in:
tomyvi
2022-04-07 10:33:31 +02:00
committed by GitHub
parent 758c174141
commit c403e8b2df

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'))) {