mirror of
https://github.com/ershisan99/todolist_next.git
synced 2026-01-23 12:35:22 +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
|
||||
} catch (error) {
|
||||
console.log(window.location.pathname)
|
||||
if (!["/login", "/sign-up"].includes(window.location.pathname)) {
|
||||
router.push("/login")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user