I've been trying to add url parameters like the ones in youtube https://www.youtube.com/watch?v=1dJT-99KpiI but I have no idea how to.
Relevant Node.js Server Code:
function(err, session) {
var url = new URL(window.location.href);
url.searchParams.append("sessionId",session.Id);
}
Relevant Javascript Client-Side Code
url = new URL(window.location.href);
var sessionId = url.searchParams.get("sessionId");
console.log(sessionId);