Changed config.js or interface_config.js not work

Hello everyone.

I have clone the jitsi-meet source from https://github.com/jitsi/jitsi-meet.git ,then i fellow the instruction. in my Ubuntu 16.04 i execute "npm install " and "make dev " start it , all i had done are these.

Then I can visit the web project like this .

Now i want to customize the look, so i try to edit config.js ,remove some TOOLBAR_BUTTONS item and change SHOW_WATERMARK_FOR_GUESTS to false
and so on .

Then i stop the project and execute "make dev " again . but i found all i changed didn’t take effect. i also found relative code in the index page were same as before.

i found something in webpack.config.js

Maybe it’s related to that? sorry I’m mainly engaged in Java development, but I don’t know much about nodeJS. I am confused , what should i do ? thanks

Hi @Kimipoker,

The config.js file is being loaded from the backend. Not from your local development environment. You need to have a jitsi-meet deployment where your local frontend can be connected and you can specify your deployment with following command

export WEBPACK_DEV_SERVER_PROXY_TARGET=https://your-example-server.com

Then you can run

make dev

You have to do the changes to the config.js file in the backend.

Thanks for your answer.

But I’m not sure how to build the jitsi-meet deployment you noticed servered on https://your-example-server.com .

When I cloned the jitsi-meet source from https://github.com/jitsi/jitsi-meet.git then npm install and make dev , I just got a front-end, and it serverd by the back-end service which run on https://beta.meet.jit.si if i don’t change WEBPACK_DEV_SERVER_PROXY_TARGET.

It only provides pages and js API,Is it right?

If so, What support does the back-end provide?
And What should i do to build its back-end?
And How to configure jitsi-meet , let it communicate with back-end?

I’m looking forward to your reply ,thanks again.

You just have to install jitsi meet on a server (say on doamin your-example-server.com ).
Then you can point the frontend to that deployment. No need to build the backend. You can just change the config files.

1 Like

Thankes ,I see . I have a vps without a bound doamin , can I just use IP?

Then excute export WEBPACK_DEV_SERVER_PROXY_TARGET=https://120.79.168.244

The project default run on port 8080 , I should do like this ?

export WEBPACK_DEV_SERVER_PROXY_TARGET=https://120.79.168.244:8080

I had a problem before, when I deployed the project without adding this line , point host to ‘0.0.0.0’
i can’t visit the project from internet by using https://120.79.168.244:8080. add this can solve it . and besides I didn’t do the command you mentioned at that time.

I use another way finally in my virtual machine, use the quick install and change configurations.
before install jitsi meet i installed nginx .i referred Ubuntu install Jitsi Meet and quick install. When visit the project from out machine , you should add mapping your domain and inner IP in your hosts file .

There are some configurations location.

web资源目录

cd /usr/share/jitsi-meet

nginx配置目录

vim  /etc/nginx/sites-available/yinhaimeeting.com.conf

config.js 位置

sudo vim /etc/jitsi/meet/yinhaimeeting.com-config.js

interface_config.js

sudo vim  /usr/share/jitsi-meet/interface_config.js 

nginx命令

 /etc/init.d/nginx stop
 /etc/init.d/nginx start

启动videobridge

/etc/init.d/jitsi-videobridge

其他路径

/etc/jitsi/videobridge/config