diff --git a/frontend/renderPage.tsx b/frontend/renderPage.tsx index 54026bd8f..c030fa013 100644 --- a/frontend/renderPage.tsx +++ b/frontend/renderPage.tsx @@ -362,7 +362,7 @@ function renderPage( auth.authenticated = true } return { ...pageProps, ...auth, options, permissions } - } catch (error) + } catch (error) { if (ctx.res) { ctx.res.writeHead(307, { Location: '/error' }) ctx.res.end()