mirror of
https://github.com/jitsi/docker-jitsi-meet.git
synced 2026-04-03 08:11:05 +02:00
web: use PUBLIC_URL for etherpaad base and BOSH URLs
This commit is contained in:
parent
264df049c8
commit
5e6faced4f
@ -73,7 +73,7 @@ if [[ ! -f /config/config.js ]]; then
|
||||
cp /defaults/config.js /config/config.js
|
||||
sed -i \
|
||||
-e "s#jitsi-meet.example.com#$XMPP_DOMAIN#g" \
|
||||
-e "s#bosh:.*#bosh: '/http-bind',#" \
|
||||
-e "s#bosh:.*#bosh: '${PUBLIC_URL}/http-bind',#" \
|
||||
-e "s#muc:.*#muc: '${XMPP_MUC_DOMAIN}',#" \
|
||||
-e "s#// focusUserJid:.*#focusUserJid: '${JICOFO_AUTH_USER}@${XMPP_AUTH_DOMAIN}',#" \
|
||||
/config/config.js
|
||||
@ -100,7 +100,7 @@ if [[ ! -f /config/config.js ]]; then
|
||||
|
||||
if [[ ! -z "${ETHERPAD_URL_BASE}" && -z "$(grep -om1 'etherpad_base:' /config/config.js)" ]]; then
|
||||
sed -i \
|
||||
-e "/enableWelcomePage/a\ etherpad_base: '/etherpad/p/'," \
|
||||
-e "/enableWelcomePage/a\ etherpad_base: '${PUBLIC_URL}/etherpad/p/'," \
|
||||
/config/config.js
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user