Use an unaltered config.js file
Make all the necessary changes outside, setting the bosh URL in this case.
This commit is contained in:
parent
ee08da5640
commit
c6cc67b68d
|
@ -38,7 +38,7 @@ var config = {
|
|||
},
|
||||
|
||||
// BOSH URL. FIXME: use XEP-0156 to discover it.
|
||||
bosh: '/http-bind',
|
||||
bosh: '//jitsi-meet.example.com/http-bind',
|
||||
|
||||
// The name of client node advertised in XEP-0115 'c' stanza
|
||||
clientNode: 'http://jitsi.org/jitsimeet',
|
||||
|
|
|
@ -22,5 +22,8 @@ fi
|
|||
|
||||
if [[ ! -f /config/config.js ]]; then
|
||||
cp /defaults/config.js /config/config.js
|
||||
sed -i "s/jitsi-meet.example.com/$XMPP_DOMAIN/g" /config/config.js
|
||||
sed -i \
|
||||
-e "s#jitsi-meet.example.com#$XMPP_DOMAIN#g" \
|
||||
-e "s#bosh:.*#bosh: '/http-bind',#" \
|
||||
/config/config.js
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user