Skip to content

Commit 44b9536

Browse files
author
artem
committed
1 parent e41627a commit 44b9536

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/UncaptchaREST.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ protected function call(string $methodName, array $post = []){
5050
curl_setopt($ch, CURLOPT_ENCODING, 'gzip,deflate');
5151
curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout);
5252
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
53+
if($this->hostIp) curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
5354

5455
$this->curlResponse = curl_exec($ch);
5556

0 commit comments

Comments
 (0)