From 5a4923d31426c4f303980f5cf714dd45a0f83997 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Fri, 15 Jul 2016 16:43:17 +0200 Subject: [PATCH] Switch the web UI to the new endpoint for logged in users --- core/js/files/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/files/client.js b/core/js/files/client.js index 16221839f820..9314e2462333 100644 --- a/core/js/files/client.js +++ b/core/js/files/client.js @@ -787,7 +787,7 @@ var client = new OC.Files.Client({ host: OC.getHost(), port: OC.getPort(), - root: OC.linkToRemoteBase('webdav'), + root: OC.linkToRemoteBase('dav') + '/files/' + encodeURIComponent(OC.getCurrentUser().uid) + '/', useHTTPS: OC.getProtocol() === 'https' }); OC.Files._defaultClient = client;