diff --git a/app/utils/cloud/webdav.ts b/app/utils/cloud/webdav.ts index f7d48dd03..5b0f3b123 100644 --- a/app/utils/cloud/webdav.ts +++ b/app/utils/cloud/webdav.ts @@ -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);