change: link back to login on refresh error

This commit is contained in:
Julian Krauser 2025-03-09 09:55:40 +01:00
parent 4821be0c8c
commit d7160d6550

View file

@ -62,7 +62,9 @@ http.interceptors.response.use(
.then(() => { .then(() => {
return http(originalRequest); return http(originalRequest);
}) })
.catch(() => {}); .catch(() => {
router.push({ name: "login" });
});
} }
const notificationStore = useNotificationStore(); const notificationStore = useNotificationStore();