Update WidgetUtils.js

This commit is contained in:
Michael Telatynski 2020-03-22 02:14:50 +00:00 committed by GitHub
parent 4ab53607a0
commit 8822bb06f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -492,7 +492,7 @@ export default class WidgetUtils {
// safe to send.
// We'll end up using a local render URL when we see a Jitsi widget anyways, so this is
// really just for backwards compatibility and to appease the spec.
baseUrl = "https://riot.im/app";
baseUrl = "https://riot.im/app/";
}
const url = new URL("jitsi.html#" + queryString, baseUrl); // this strips hash fragment from baseUrl
return url.href;