diff --git a/frontend/src/routes/overview.svelte b/frontend/src/routes/overview.svelte index 3c40ed4..60b999f 100644 --- a/frontend/src/routes/overview.svelte +++ b/frontend/src/routes/overview.svelte @@ -62,6 +62,7 @@ if (res.status !== 200) { alert('Failed to start game!'); console.error(`Failed to start game, ${await res.text()}`); + window.location.replace('/account/login?returnTo=/overview'); } const data = await res.json(); // eslint-disable-next-line no-undef