diff --git a/src/Config/Config.php b/src/Config/Config.php index 4e80082..e209ce8 100644 --- a/src/Config/Config.php +++ b/src/Config/Config.php @@ -74,7 +74,7 @@ public function getEndpoint(): string */ public function setEndpoint($endpoint): ConfigInterface { - $this->_endpoint = parse_url($endpoint, PHP_URL_HOST); + $this->_endpoint = parse_url($endpoint, PHP_URL_PATH); return $this; } @@ -154,4 +154,4 @@ public function setPartner($partner): ConfigInterface return $this; } -} \ No newline at end of file +}