1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

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

Update WidgetUtils.js fix Jitsi path
This commit is contained in:
Michael Telatynski
2020-03-22 18:56:00 +00:00
committed by GitHub

View File

@@ -492,7 +492,7 @@ export default class WidgetUtils {
// safe to send. // safe to send.
// We'll end up using a local render URL when we see a Jitsi widget anyways, so this is // 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. // 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 const url = new URL("jitsi.html#" + queryString, baseUrl); // this strips hash fragment from baseUrl
return url.href; return url.href;