Browse Source

feat: fix the logtics of client joining webdav url

butterfly 1 năm trước cách đây
mục cha
commit
55d7014301
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      app/utils/cloud/webdav.ts

+ 3 - 3
app/utils/cloud/webdav.ts

@@ -63,9 +63,9 @@ export function createWebDavClient(store: SyncStore) {
       };
     },
     path(path: string, proxyUrl: string = "") {
-      if (!path.endsWith("/")) {
-        path += "/";
-      }
+      // if (!path.endsWith("/")) {
+      //   path += "/";
+      // }
       if (path.startsWith("/")) {
         path = path.slice(1);
       }