Place brackets around the hostname

This commit is contained in:
William Edwards 2022-03-21 13:44:50 +01:00
parent 947ec4a67d
commit ff2a224d4f

View file

@ -60,7 +60,7 @@ class ApiHandler {
} }
private function baseurl() { private function baseurl() {
return $this->proto.'://'.$this->hostname.':'.$this->port.$this->apiurl; return $this->proto.'://['.$this->hostname.']:'.$this->port.$this->apiurl;
} }
private function go() { private function go() {