mirror of
https://github.com/ershisan99/todolist_next.git
synced 2025-12-16 12:33:57 +00:00
remove log
This commit is contained in:
@@ -75,7 +75,6 @@ todolistApiInstance.interceptors.response.use(
|
|||||||
|
|
||||||
return todolistApiInstance(originalRequest) // Retry the original request with the new token
|
return todolistApiInstance(originalRequest) // Retry the original request with the new token
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(window.location.pathname)
|
|
||||||
if (!["/login", "/sign-up"].includes(window.location.pathname)) {
|
if (!["/login", "/sign-up"].includes(window.location.pathname)) {
|
||||||
router.push("/login")
|
router.push("/login")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user