diff --git a/core/js/files/client.js b/core/js/files/client.js index e16facbde0..7e0e136989 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;