Browse Source

guzzlehttp改为不验证ssl

Yahoo 4 năm trước cách đây
mục cha
commit
9f09649826
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  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,
         ];