Skip to content

Commit

Permalink
sds
Browse files Browse the repository at this point in the history
  • Loading branch information
huziibee committed Jan 8, 2024
1 parent c196831 commit d91c904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AWS-APP/Login/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const userPool = new AmazonCognitoIdentity.CognitoUserPool({
});

document.addEventListener('DOMContentLoaded', function() {
if (window.location.href === '' ) {
if (window.location.href !== '../Login/index.html' ) {
window.location.href = '../Login/index.html';
}
})
Expand Down

0 comments on commit d91c904

Please sign in to comment.