diff --git a/app/utils/cloud/webdav.ts b/app/utils/cloud/webdav.ts index c87fdd71e1e..3a1553c1035 100644 --- a/app/utils/cloud/webdav.ts +++ b/app/utils/cloud/webdav.ts @@ -21,7 +21,7 @@ export function createWebDavClient(store: SyncStore) { proxyUrl, }); 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) { console.error("[WebDav] failed to check", e); }