mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-20 04:30:17 +09:00
feat: fix the logtics of client joining webdav url
This commit is contained in:
parent
55d7014301
commit
fd8d0a1746
@ -75,7 +75,7 @@ export function createWebDavClient(store: SyncStore) {
|
||||
}
|
||||
|
||||
let url;
|
||||
if (proxyUrl.length > 0 || proxyUrl === "/") {
|
||||
if (proxyUrl.length > 0) {
|
||||
let u = new URL(proxyUrl + "api/webdav/" + path);
|
||||
// add query params
|
||||
u.searchParams.append("endpoint", config.endpoint);
|
||||
|
Loading…
Reference in New Issue
Block a user