Skip to content

Commit defa629

Browse files
artongenextcloud-command
authored andcommitted
fix: Do not duplicate / in davPath
`davRootPath` already contains a leading `/` Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent 4a3fcea commit defa629

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

apps/files/src/views/Sidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export default {
198198
* @return {string}
199199
*/
200200
davPath() {
201-
return `${davRemoteURL}/${davRootPath}${encodePath(this.file)}`
201+
return `${davRemoteURL}${davRootPath}${encodePath(this.file)}`
202202
},
203203
204204
/**

dist/files-sidebar.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-sidebar.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)