Merge pull request #4256 from matrix-org/t3chguy/patch-1

Update WidgetUtils.js fix Jitsi path
pull/21833/head
Michael Telatynski 2020-03-22 18:56:00 +00:00 committed by GitHub
commit 2df06800cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;