Fix lookup url
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
e53e585e91
commit
15c075eba8
2 changed files with 2 additions and 2 deletions
|
@ -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 = [];
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue