|
|
|
@ -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 |
|
|
|
|
|
|
|
|
|