Adding a constant to interface_config

I’m trying to add a new constant to interface_config.js, but whenever I try to access it in UI.js or print out InterfaceConfig, the new setting is never part of the hash (doesn’t look like it’s ever initiated or saved, even though it is in the file). I’ve also included it in the interfaceConfigWhitelilst.js, is there a cache clear setting I’m missing somewhere to run right before make dev?

When using make dev, it uses index.html, config.js and interface_config.js from the deployment that it uses.
You can forward it to your deployment and add it there.

Hey damencho, thanks for the info! Could you explain what you mean to “forward it to your deployment”? Use the proxy?
export WEBPACK_DEV_SERVER_PROXY_TARGET=https://localhost:8080 ?

WEBPACK_DEV_SERVER_PROXY_TARGET=“https://alpha.jitsi.net” is what is default.
You should add the address of your deployment, where you have installed jitsi-meet.

1 Like