This commit is contained in:
GH Action - Upstream Sync 2023-09-21 01:05:27 +00:00
commit 2c3fcd745c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}