瀏覽代碼

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