[__jitsi_meet_domain] Simplify logic for secured domains
This commit is contained in:
parent
fa37ede84f
commit
29cafd4f9a
1 changed files with 2 additions and 8 deletions
|
@ -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…
Reference in a new issue