aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-11-18 14:28:14 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-21 11:30:01 +0100
commit15c075eba8b28b524b24256169b03e9ec9f2c968 (patch)
tree270c03ff3f1deb41cdfc748b37cb82f47121cb40
parente53e585e91d39addc95c660d9780adc766a6ebec (diff)
downloadnextcloud-server-15c075eba8b28b524b24256169b03e9ec9f2c968.tar.gz
nextcloud-server-15c075eba8b28b524b24256169b03e9ec9f2c968.zip
Fix lookup url
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r--apps/files_sharing/lib/Controller/ShareesAPIController.php2
-rw-r--r--apps/lookup_server_connector/lib/UpdateLookupServer.php2
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