From ac2a087a15dd711d6a689d0dad7351da6a52bd2b Mon Sep 17 00:00:00 2001 From: FluorFR <49209087+FluorFR@users.noreply.github.com> Date: Sat, 13 Jul 2024 19:19:49 +0200 Subject: [PATCH] Update Config.php for compatibility --- src/Config/Config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}