Browse Source

feat: fix the logtics of client joining webdav url

butterfly 1 year ago
parent
commit
55d7014301
1 changed files with 3 additions and 3 deletions
  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);
       }