Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 21, 2023
2 parents 19cf25a + 23eb773 commit bed24ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/cloud/webdav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit bed24ae

Please sign in to comment.