This commit is contained in:
Marcel Pociot
2020-05-04 21:02:46 +02:00
parent 424f20bd90
commit 37fc6007a0
4 changed files with 38 additions and 15 deletions

View File

@@ -61,6 +61,9 @@ class Client
if (Arr::get($parsedUrl, 'scheme') === 'https') {
$url .= ':443';
}
if (! is_null($port = Arr::get($parsedUrl, 'port'))) {
$url .= ":{$port}";
}
return $url;
}