mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-06-07 21:30:19 +09:00
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
Block a user