Преглед на файлове

feat: fix the logtics of client joining webdav url

butterfly преди 1 година
родител
ревизия
55d7014301
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  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);
       }