feat: fix the logtics of client joining webdav url
This commit is contained in:
parent
b72d7fbeda
commit
55d7014301
|
@ -63,9 +63,9 @@ export function createWebDavClient(store: SyncStore) {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
path(path: string, proxyUrl: string = "") {
|
path(path: string, proxyUrl: string = "") {
|
||||||
if (!path.endsWith("/")) {
|
// if (!path.endsWith("/")) {
|
||||||
path += "/";
|
// path += "/";
|
||||||
}
|
// }
|
||||||
if (path.startsWith("/")) {
|
if (path.startsWith("/")) {
|
||||||
path = path.slice(1);
|
path = path.slice(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue