Skip to content

Commit

Permalink
Use new DAV endpoint for single file uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Petry committed Aug 31, 2017
1 parent da5030c commit c4508cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/files/js/filelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -1703,7 +1703,8 @@
encodedPath += '/' + encodeURIComponent(section);
}
});
return OC.linkToRemoteBase('webdav') + encodedPath;
var uid = OC.getCurrentUser().uid;
return OC.linkToRemoteBase('dav') + '/files/' + uid + encodedPath;
},

/**
Expand Down

0 comments on commit c4508cd

Please sign in to comment.