Skip to content

Commit

Permalink
Merge pull request #2099 from ieee-vgtc/smonadjemi-patch-1
Browse files Browse the repository at this point in the history
Update index.js
  • Loading branch information
smonadjemi authored Oct 2, 2024
2 parents e71f87a + 9f6715c commit 4b76ee6
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 4b76ee6

Please sign in to comment.