diff --git a/common/HttpClient.php b/common/HttpClient.php index d78d392..a5ca7a3 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -255,6 +255,9 @@ class HttpClient } $url = '/' . implode('/', $explode); + if (!empty($this->host)) { + return $this->host; + } if (preg_match('/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/', $first)) { return $first;