Skip to content

Commit

Permalink
refactor: skip the prejoin page after redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
emrahcom committed Oct 23, 2024
1 parent d8b6945 commit 0345440
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion templates/usr/share/jitsi-meet/body.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
window.location.pathname.replace(/\/+/g, "/"),
);
const search = encodeURIComponent(qs.toString());
const hash = encodeURIComponent(window.location.hash.substring(1));

let hash = "config.prejoinConfig.enabled=false";
if (window.location.hash) {
hash = `${hash}&${window.location.hash.substring(1)}`;
}
hash = encodeURIComponent(hash);

window.location = `/oidc/auth?path=${path}&search=${search}&hash=${hash}`;

Expand Down

0 comments on commit 0345440

Please sign in to comment.