Getting the Url Params
const urlSearchParams: any = new URLSearchParams(window.location.search);
params = Object.fromEntries(urlSearchParams.entries());
console.log(params);
const playerId = params.playerid
const otp = params.otp
const tourneyId = params.tourneyid
if (params.playerid && params.otp && params.tourneyid) {
isOnline = true;
}
console.log("tournament mode", isOnline);Where can I see this URL live on the website?

Last updated
Was this helpful?