mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 19:26:54 +08:00
fix: #2820 try to fix 520 error code
This commit is contained in:
@@ -23,7 +23,7 @@ export function createWebDavClient(store: SyncStore) {
|
||||
|
||||
console.log("[WebDav] check", res.status, res.statusText);
|
||||
|
||||
return [201, 200, 404].includes(res.status);
|
||||
return [201, 200, 404, 401].includes(res.status);
|
||||
} catch (e) {
|
||||
console.error("[WebDav] failed to check", e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user