add clear
This commit is contained in:
@@ -400,7 +400,7 @@ class HttpClient
|
||||
return $this->curl($url, $data);
|
||||
}
|
||||
$url = $this->matchHost(ltrim($url, '/'));
|
||||
if (!empty($this->port)) {
|
||||
if (!empty($this->port) && $this->checkIsIp($this->host)) {
|
||||
$this->host .= ':' . $this->port;
|
||||
}
|
||||
var_dump('https://' . $this->host . '/' . $url);
|
||||
|
||||
Reference in New Issue
Block a user