FIX: Problemas de curl

This commit is contained in:
Juan Pablo Vial
2024-11-20 11:29:02 -03:00
parent 5b30c0e36c
commit bc8aa02236

View File

@ -69,7 +69,18 @@ return [
$container->get(Psr\Log\LoggerInterface::class),
$container->get(Incoviba\Repository\Contabilidad\Nubox::class),
$container->get(Incoviba\Service\Redis::class),
new GuzzleHttp\Client(),
new GuzzleHttp\Client([
'defaults' => [
'config' => [
'curl' => [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_SSL_VERIFYHOST => false
]
]
]
]),
$container->get(Psr\Http\Message\RequestFactoryInterface::class),
$container->get('nubox')->get('url'));
},