]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix lookup url
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 18 Nov 2016 13:28:14 +0000 (14:28 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Mon, 21 Nov 2016 10:30:01 +0000 (11:30 +0100)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/files_sharing/lib/Controller/ShareesAPIController.php
apps/lookup_server_connector/lib/UpdateLookupServer.php

index d9540aba1d9dc71574a38c99d6b1908b1be31535..7b9e10090d2e7fe07e56edea300f74ff45261a62 100644 (file)
@@ -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 = [];
index e147536bb86521b2705dddd6bf07e39710e3322c..e9f0d069d923de66fbfaedfcc5f5745b71d48398 100644 (file)
@@ -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