From 15c075eba8b28b524b24256169b03e9ec9f2c968 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 18 Nov 2016 14:28:14 +0100 Subject: [PATCH] Fix lookup url Signed-off-by: Roeland Jago Douma --- apps/files_sharing/lib/Controller/ShareesAPIController.php | 2 +- apps/lookup_server_connector/lib/UpdateLookupServer.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files_sharing/lib/Controller/ShareesAPIController.php b/apps/files_sharing/lib/Controller/ShareesAPIController.php index d9540aba1d9..7b9e10090d2 100644 --- a/apps/files_sharing/lib/Controller/ShareesAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareesAPIController.php @@ -628,7 +628,7 @@ class ShareesAPIController extends OCSController { protected function getLookup($search) { $client = $this->clientService->newClient(); - $response = $client->get('http://127.0.0.1:3000/users?search='.urlencode($search)); + $response = $client->get('https://lookup.nextcloud.com/users?search='.urlencode($search)); $body = json_decode($response->getBody(), true); $result = []; diff --git a/apps/lookup_server_connector/lib/UpdateLookupServer.php b/apps/lookup_server_connector/lib/UpdateLookupServer.php index e147536bb86..e9f0d069d92 100644 --- a/apps/lookup_server_connector/lib/UpdateLookupServer.php +++ b/apps/lookup_server_connector/lib/UpdateLookupServer.php @@ -49,7 +49,7 @@ class UpdateLookupServer { /** @var Signer */ private $signer; /** @var string URL point to lookup server */ - private $lookupServer = 'http://127.0.0.1:3000/users'; + private $lookupServer = 'https://lookup.nextcloud.com/users'; /** * @param AccountManager $accountManager -- 2.39.5