Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04426ef7 authored by Ronak Patel's avatar Ronak Patel
Browse files

refconfig

parent 5de15294
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -49,9 +49,11 @@ class UserService {
		$this->l10nFactory = $l10nFactory;
		$this->LDAPConnectionService = $LDAPConnectionService;
		$commonServiceURL = $this->config->getSystemValue('common_services_url', '');
		if(!$commonServiceURL) {

		if (!empty($commonServiceURL)) {
			$commonServiceURL = rtrim($commonServiceURL, '/') . '/';
		}

		$this->apiConfig = [
			'mainDomain' => $this->config->getSystemValue('main_domain', ''),
			'commonApiUrl' => $commonServiceURL,