change to defaults

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-03-21 10:49:55 +00:00
parent ca02ff493c
commit 506927ad8a
2 changed files with 2 additions and 2 deletions

View file

@ -474,7 +474,7 @@ export default class WidgetUtils {
return encodeURIComponent(`${widgetLocation}::${widgetUrl}`);
}
static getLocalJitsiWrapperUrl(opts: {forLocalRender?: boolean}) {
static getLocalJitsiWrapperUrl(opts: {forLocalRender?: boolean}={}) {
// NB. we can't just encodeURIComponent all of these because the $ signs need to be there
const queryString = [
'conferenceDomain=$domain',