How to remove jwt token on url when conference ended?

how to remove jwt token on url when conference ended?

Screen Shot 2020-04-30 at 10.06.56 PM copy

In /etc/jitsi/meet/-config.js, you can set:
enableClosePage: true,

This will cause the browser of the user who leaves a meeting to redirect to the page whose source is found at /usr/share/jitsi-meet/static/close2.html

From here you can redirect someone away or perhaps back to start another meeting by executing a bit of javascript such as:

<script>window.history.replaceState({}, document.title, "SomeNewURL");</script>

This should remove the token, and eradicate the URL with the token from the browsers history (i.e. back button won’t work).

Make sure you make a back up copy of your modified close2.html as it may get overwritten on upgrade.

I already found it in maybeRedirectToWelcomePage(options: Object = {})
I changed the redirectWithStoredParams(’/’) to UIUtil.redirect(’/’);