mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-20 20:50: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;
|
let url;
|
||||||
if (proxyUrl.length > 0 || proxyUrl === "/") {
|
if (proxyUrl.length > 0) {
|
||||||
let u = new URL(proxyUrl + "api/webdav/" + path);
|
let u = new URL(proxyUrl + "api/webdav/" + path);
|
||||||
// add query params
|
// add query params
|
||||||
u.searchParams.append("endpoint", config.endpoint);
|
u.searchParams.append("endpoint", config.endpoint);
|
||||||
|
Loading…
Reference in New Issue
Block a user