Changes for Meta tag in title.html not reflected

Hi,

I have made changes in title.html file like

meta property=“og:title” content=“Demo Meet”

but when I run make dev and inspect it on localhost, changes are not reflected there.

What is the reason for this? Also following script is by default added on load:

document.addEventListener(‘DOMContentLoaded’, () => {
if (!JitsiMeetJS.app) {
return;
}

        JitsiMeetJS.app.renderEntryPoint({
            Component: JitsiMeetJS.app.entryPoints.APP
        })
    })

I need to make these changes for deployment.

Thanks in advance.

Index.html is coming from the used deployment because of the configurations when using make dev you need to do those changes on your deployment.

Hi there. I’m having a similar issue, but not for deployment. I’m working on this issue favicon is invisible in the dark-themed browser · Issue #6182 · jitsi/jitsi-meet · GitHub I need to add a new link tag to the html. Whether I change the index.html or the title.html, the changes aren’t refelected when I make dev.

I’m a newbie with the Makefile setup, and I’m not sure where I can locate the configuration settings that control this. Any help is appreciated :slight_smile:

make dev always uses the index.html from the server where you are proxing to in order to take the config.

You can save the index.html from the server you use (this will include the config…), and place it locally and do some magic here jitsi-meet/webpack.config.js at acfc9c668365d2faae2ce496c1848b509ebc4a40 · jitsi/jitsi-meet · GitHub
To instruct the wepack proxy server to serve the index from the local file.

And then add your modifications in the newly saved index.html, the serverside includes does not work with the proxy server …

Helpful documentation:

Continuing with Issue #6182,
I’m trying to bypass the proxy for index.html in order to use my local file with my code changes.

As per my understanding of how devServerProxyBypass works, I should be able to check for requests to /index.html and then return path for those requests.

I’ve tried adding a console log to print out path is: ${path} to see what paths are being passed into devServerProxyBypass , but I don’t see /index.html being requested.

Output:
path is: /
path is: /css/all.css
path is: /libs/external_connect.js
path is: /libs/lib-jitsi-meet.min.js
path is: /libs/do_external_connect.min.js
path is: /libs/app.bundle.min.js
path is: /pwa-worker.js
path is: /images/apple-touch-icon.png
path is: /libs/olm.wasm
path is: /images/favicon.ico
path is: /images/app-store-badge.png
path is: /images/watermark.svg
path is: /images/google-play-badge.png
path is: /images/f-droid-badge.png
path is: /images/welcome-background.png
path is: /sounds/e2eeOff.mp3
path is: /sounds/e2eeOn.mp3
path is: /sounds/asked-unmute.mp3
path is: /sounds/joined.wav
path is: /sounds/left.wav
path is: /sounds/incomingMessage.wav
path is: /sounds/knock.mp3
path is: /sounds/reactions-thumbs-up.mp3
path is: /sounds/reactions-thumbs-up.mp3
path is: /sounds/reactions-thumbs-up.mp3
path is: /sounds/reactions-applause.mp3
path is: /sounds/reactions-applause.mp3
path is: /sounds/reactions-applause.mp3
path is: /sounds/reactions-laughter.mp3
path is: /sounds/reactions-laughter.mp3
path is: /sounds/reactions-laughter.mp3
path is: /sounds/reactions-surprise.mp3
path is: /sounds/reactions-surprise.mp3
path is: /sounds/reactions-surprise.mp3
path is: /sounds/reactions-boo.mp3
path is: /sounds/reactions-boo.mp3
path is: /sounds/reactions-boo.mp3
path is: /sounds/reactions-crickets.mp3
path is: /sounds/reactions-crickets.mp3
path is: /sounds/reactions-crickets.mp3
path is: /sounds/reactions-raised-hand.mp3
path is: /sounds/liveStreamingOff.mp3
path is: /sounds/liveStreamingOn.mp3
path is: /sounds/recordingOff.mp3
path is: /sounds/recordingOn.mp3
path is: /sounds/rejected.wav
path is: /sounds/rejected.wav
path is: /sounds/outgoingRinging.wav
path is: /sounds/outgoingStart.wav
path is: /sounds/talkWhileMuted.mp3
path is: /sounds/noisyAudioInput.mp3
path is: /sounds/noAudioSignal.mp3
path is: /pwa-worker.js

=====

How exactly can I check for requests to /index.html?

I figured out a way to load my local index.html as explained here.