Use globalThis instead of window (S7764)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -90,7 +90,7 @@ apiClient.interceptors.response.use(
|
||||
deleteCookie("luciaToken");
|
||||
deleteCookie("luciaRefreshToken");
|
||||
deleteCookie("isLuciaLoggedIn");
|
||||
window.location.href = "/login";
|
||||
globalThis.location.href = "/login";
|
||||
return Promise.reject(refreshError);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user