mirror of
https://github.com/nextcloud/server.git
synced 2026-06-19 21:49:43 -04:00
fix baseUri of the Carddav server
This commit is contained in:
parent
089c24e650
commit
aae0d990ca
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ $nodes = array(
|
|||
|
||||
// Fire up server
|
||||
$server = new Sabre_DAV_Server($nodes);
|
||||
$server->setBaseUri(OC::$APPSROOT.'/apps/contacts/carddav.php');
|
||||
$server->setBaseUri(OC::$APPSWEBROOT.'/apps/contacts/carddav.php');
|
||||
// Add plugins
|
||||
$server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend,'ownCloud'));
|
||||
$server->addPlugin(new Sabre_CardDAV_Plugin());
|
||||
|
|
|
|||
Loading…
Reference in a new issue