[__jitsi_meet_domain] Simplify logic for secured domains

This commit is contained in:
evilham 2022-04-16 13:22:16 +02:00
parent fa37ede84f
commit 29cafd4f9a
Signed by untrusted user: evilham
GPG key ID: AE3EE30D970886BF

View file

@ -13,14 +13,8 @@ var config = {
domain: '${JITSI_HOST}',
// When using authentication, domain for guest users.
$( if [ -n "${SECURED_DOMAINS}" ]; then cat<<EOF2
anonymousdomain: 'guest.${JITSI_HOST}',
EOF2
else cat <<EOF2
// anonymousdomain: 'guest.example.com',
EOF2
fi
)
$( if [ -z "${SECURED_DOMAINS}" ]; then printf "// "
fi)anonymousdomain: 'guest.${JITSI_HOST}',
// Domain for authenticated users. Defaults to <domain>.
// authdomain: '${JITSI_HOST}',