소스 검색

feat: fix the logtics of client joining webdav url

butterfly 1 년 전
부모
커밋
fd8d0a1746
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/utils/cloud/webdav.ts

+ 1 - 1
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);