mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-02-11 17:40:35 +08: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 = "") {
|
||||
if (!path.endsWith("/")) {
|
||||
path += "/";
|
||||
}
|
||||
// if (!path.endsWith("/")) {
|
||||
// path += "/";
|
||||
// }
|
||||
if (path.startsWith("/")) {
|
||||
path = path.slice(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user