Skip to content

Commit

Permalink
Update navbar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
LoydOsborne committed Dec 9, 2024
1 parent 9f01587 commit 67afd0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/staff-portal/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,6 @@ function getCookie(name) {

function redirectToUserPage() {
const baseURL = window.location.origin; // Extract base URL
const AuthUrl = `${baseURL}/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
window.location.href = AuthUrl;
const redirectUrl = `${baseURL}/u/`;
window.location.href = redirectUrl;
}

0 comments on commit 67afd0c

Please sign in to comment.