remove log

This commit is contained in:
2024-08-15 14:29:48 +02:00
parent d945a1ea7f
commit 82d7f24b5c

View File

@@ -75,7 +75,6 @@ todolistApiInstance.interceptors.response.use(
return todolistApiInstance(originalRequest) // Retry the original request with the new token
} catch (error) {
console.log(window.location.pathname)
if (!["/login", "/sign-up"].includes(window.location.pathname)) {
router.push("/login")
}