diff --git a/lib/doofinder_management_api.php b/lib/doofinder_management_api.php index cea9bd6..97412be 100644 --- a/lib/doofinder_management_api.php +++ b/lib/doofinder_management_api.php @@ -41,9 +41,8 @@ function __construct($apiKey){ $clusterToken = explode('-', $apiKey); $this->clusterRegion = $clusterToken[0]; $this->token = $clusterToken[1]; - $this->baseManagementUrl = $this->clusterRegion."-".self::MANAGEMENT_DOMAIN_SUFFIX. - "/v".self::MANAGEMENT_VERSION; -// $this->baseManagementUrl = 'localhost:8000/api/v1'; + $this->baseManagementUrl = "https://" . $this->clusterRegion . self::MANAGEMENT_DOMAIN_SUFFIX . "/v" . self::MANAGEMENT_VERSION; + // $this->baseManagementUrl = 'localhost:8000/api/v1'; } function managementApiCall($method='GET', $entryPoint='', $params=null, $data=null){