Procházet zdrojové kódy

guzzlehttp改为不验证ssl

Yahoo před 4 roky
rodič
revize
9f09649826
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      vendor/guzzlehttp/guzzle/src/Client.php

+ 1 - 1
vendor/guzzlehttp/guzzle/src/Client.php

@@ -230,7 +230,7 @@ class Client implements ClientInterface, \Psr\Http\Client\ClientInterface
             'allow_redirects' => RedirectMiddleware::$defaultSettings,
             'http_errors'     => true,
             'decode_content'  => true,
-            'verify'          => true,
+            'verify'          => false,
             'cookies'         => false,
             'idn_conversion'  => false,
         ];