Ganti index.php menjadi index.html untuk menghindari redirect loop PHP
This commit is contained in:
@@ -23,7 +23,7 @@ export const Auth = {
|
||||
localStorage.removeItem(TOKEN_KEY);
|
||||
localStorage.removeItem(USER_KEY);
|
||||
sessionStorage.removeItem('auth_redirect_done');
|
||||
window.location.href = '../index.php';
|
||||
window.location.href = '../index.html';
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user