diff --git a/client/boot.ts b/client/boot.ts index 91f3b653..de746b94 100644 --- a/client/boot.ts +++ b/client/boot.ts @@ -236,11 +236,9 @@ async function cachedFetch(path: string): Promise { } } const redirectHeader = response.headers.get("location"); - if ( - response.status === 401 && redirectHeader - ) { + if (redirectHeader) { alert( - "Received an authentication redirect, redirecting to URL: " + + "Received an (authentication) redirect, redirecting to URL: " + redirectHeader, ); location.href = redirectHeader;