summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorAlexander Weidinger <alexwegoo@gmail.com>2015-10-27 18:05:51 +0100
committerAlexander Weidinger <alexwegoo@gmail.com>2015-10-27 18:05:51 +0100
commita1c16e5d427bd1a43100226e74b589b5a095c983 (patch)
tree297da7808570c91ee3fae6d837d9b5e517bd99dd /js
parentaf3cd0ac7603e9a12e2af2d17e8e224edce2a062 (diff)
Fixed using correct oc webroot.
Diffstat (limited to 'js')
-rw-r--r--js/script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/script.js b/js/script.js
index 0623084f..758787c4 100644
--- a/js/script.js
+++ b/js/script.js
@@ -54,7 +54,7 @@
app.service('DavService', ['xhr', function(xhr) {
return dav.createAccount({
- server: "/remote.php/carddav/",
+ server: OC.linkToRemoteBase('carddav'),
xhr: xhr,
accountType: 'carddav'
});