Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
reverting the redirect to login page for papers
  • Loading branch information
smonadjemi authored Oct 2, 2024
1 parent e71f87a commit 9f6715c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,8 @@ document.addEventListener('DOMContentLoaded', async () => {
updateUI(auth0Client, query)
}
} else if ( window.location.href.includes("room_") || window.location.href.includes("paper_") ){
window.location.href = `/program/redirect.html?return=${window.location.pathname.slice(1)}`;
//console.log("here, we were going to switch the url to " + `redirect.html?return=${window.location.pathname.slice(1)}`)
// window.location.href = `redirect.html?return=${window.location.pathname.slice(1)}`;
// uncomment the line below to redirect for login
//window.location.href = `/program/redirect.html?return=${window.location.pathname.slice(1)}`;
}


Expand Down

0 comments on commit 9f6715c

Please sign in to comment.