Skip to content

Commit

Permalink
feat: fix the logtics of client joining webdav url
Browse files Browse the repository at this point in the history
  • Loading branch information
butterfly authored and butterfly committed Apr 12, 2024
1 parent 55d7014 commit fd8d0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/cloud/webdav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function createWebDavClient(store: SyncStore) {
}

let url;
if (proxyUrl.length > 0 || proxyUrl === "/") {
if (proxyUrl.length > 0) {
let u = new URL(proxyUrl + "api/webdav/" + path);
// add query params
u.searchParams.append("endpoint", config.endpoint);
Expand Down

0 comments on commit fd8d0a1

Please sign in to comment.