mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-06-03 19:30:22 +09:00
Merge branch 'Yidadaa:main' into main
This commit is contained in:
commit
4972eefe9d
@ -21,7 +21,7 @@ export function createWebDavClient(store: SyncStore) {
|
|||||||
proxyUrl,
|
proxyUrl,
|
||||||
});
|
});
|
||||||
console.log("[WebDav] check", res.status, res.statusText);
|
console.log("[WebDav] check", res.status, res.statusText);
|
||||||
return [201, 200, 404, 401].includes(res.status);
|
return [201, 200, 404, 301, 302, 307, 308].includes(res.status);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("[WebDav] failed to check", e);
|
console.error("[WebDav] failed to check", e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user