Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(config): override config values instead of merging
Leonard Kim5358f022ffb5
diff --git a/react/features/base/config/functions.js b/react/features/base/config/functions.jsindex 7f562acb4b..be748b067b 100644--- a/react/features/base/config/functions.js+++ b/react/features/base/config/functions.js@@ -175,9 +175,16 @@ export function overrideConfigJSON(if (!_.isEmpty(configJSON)) {logger.info(- `Extending ${configName} `- + `with: ${JSON.stringify(configJSON)}`);- _.merge(configObj, configJSON);+ `Extending ${configName} with: ${+ JSON.stringify(configJSON)}`);++ // eslint-disable-next-line arrow-body-style+ _.mergeWith(configObj, configJSON, (oldValue, newValue) => {++ // XXX We don't want to merge the arrays, we want to+ // overwrite them.+ return Array.isArray(oldValue) ? newValue : undefined;+ });}}}