summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/js/files/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/files/client.js b/core/js/files/client.js
index e16facbde07..7e0e136989a 100644
--- a/core/js/files/client.js
+++ b/core/js/files/client.js
@@ -932,7 +932,7 @@
var client = new OC.Files.Client({
host: OC.getHost(),
port: OC.getPort(),
- root: OC.linkToRemoteBase('webdav'),
+ root: OC.linkToRemoteBase('dav') + '/files/' + OC.getCurrentUser().uid,
useHTTPS: OC.getProtocol() === 'https'
});
OC.Files._defaultClient = client;