mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
fix(frontend): redirect from /setup if already initialized (#1238)
This commit is contained in:
@@ -180,7 +180,7 @@ CoreApp.getInitialProps = async (initialProps) => {
|
||||
);
|
||||
user = response.data;
|
||||
|
||||
if (router.pathname.match(/login/)) {
|
||||
if (router.pathname.match(/(setup|login)/)) {
|
||||
ctx.res.writeHead(307, {
|
||||
Location: '/',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user