Skip to content

Commit

Permalink
fix: Do not duplicate / in davPath
Browse files Browse the repository at this point in the history
`davRootPath` already contains a leading `/`

Signed-off-by: Louis Chemineau <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
  • Loading branch information
artonge committed Jan 9, 2025
1 parent 2f75452 commit 5d078b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/files/src/views/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export default {
* @return {string}
*/
davPath() {
return `${davRemoteURL}/${davRootPath}${encodePath(this.file)}`
return `${davRemoteURL}${davRootPath}${encodePath(this.file)}`
},

/**
Expand Down
4 changes: 2 additions & 2 deletions dist/files-sidebar.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-sidebar.js.map

Large diffs are not rendered by default.

0 comments on commit 5d078b3

Please sign in to comment.