FIX: Problemas de curl
This commit is contained in:
@ -69,7 +69,18 @@ return [
|
|||||||
$container->get(Psr\Log\LoggerInterface::class),
|
$container->get(Psr\Log\LoggerInterface::class),
|
||||||
$container->get(Incoviba\Repository\Contabilidad\Nubox::class),
|
$container->get(Incoviba\Repository\Contabilidad\Nubox::class),
|
||||||
$container->get(Incoviba\Service\Redis::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(Psr\Http\Message\RequestFactoryInterface::class),
|
||||||
$container->get('nubox')->get('url'));
|
$container->get('nubox')->get('url'));
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user