[__jitsi_meet_domain] Simplify logic for secured domains

pull/23/head
evilham 1 year ago
parent fa37ede84f
commit 29cafd4f9a
Signed by: evilham
GPG Key ID: AE3EE30D970886BF

@ -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}',

Loading…
Cancel
Save