Merge pull request #9429 from nextcloud/feature/noid/move_webui_to_new_dav

Move the webui over to the new dav endpoint
This commit is contained in:
Morris Jobke 2018-05-14 13:35:23 +02:00 committed by GitHub
commit 3e513809c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;