Эх сурвалжийг харах

feat: fix the logtics of client joining webdav url

butterfly 1 жил өмнө
parent
commit
55d7014301

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