Fix lookup url

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2016-11-18 14:28:14 +01:00
parent e53e585e91
commit 15c075eba8
No known key found for this signature in database
GPG key ID: F941078878347C0C
2 changed files with 2 additions and 2 deletions

View 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 = [];

View 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