1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

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

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;