From 4bbdf5622bd2ab3c949a0f62e96edc622a5070ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 3 Apr 2020 18:34:01 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 8eca61d..79c9846 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -333,7 +333,7 @@ class HttpClient if (strpos($this->host, ':') !== false) { [$this->host, $this->port] = explode(':', $this->host); if ($this->checkIsIp($this->host)) { - return '/' . $hostAndUrls; + return $hostAndUrls; } } @@ -343,7 +343,7 @@ class HttpClient $this->host = System::gethostbyname($this->host); - return '/' . $hostAndUrls; + return $hostAndUrls; } /**