From 55d70143018d6b285c1d7ae57fd16ceb27f815a2 Mon Sep 17 00:00:00 2001 From: butterfly Date: Fri, 12 Apr 2024 14:02:05 +0800 Subject: [PATCH] feat: fix the logtics of client joining webdav url --- app/utils/cloud/webdav.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/utils/cloud/webdav.ts b/app/utils/cloud/webdav.ts index 71d452b4af1..f7d48dd0393 100644 --- a/app/utils/cloud/webdav.ts +++ b/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); }