From: PhiTux Date: Wed, 8 Oct 2025 16:21:32 +0000 (+0200) Subject: redirect updated X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=bc47432d480b6193936d36661b424a3521ac2335;p=DailyTxT.git redirect updated --- diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index d8d7441..daa60e5 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -72,7 +72,7 @@ // logout axios .get(API_URL + '/users/logout') - .then((response) => { + .then(() => { localStorage.removeItem('user'); goto(`/login?error=${error.response.status}`); }) diff --git a/frontend/src/routes/[...missing]/+page.svelte b/frontend/src/routes/[...missing]/+page.svelte index 8ed2198..6ddabc7 100644 --- a/frontend/src/routes/[...missing]/+page.svelte +++ b/frontend/src/routes/[...missing]/+page.svelte @@ -1,10 +1,10 @@