[__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}',
|
domain: '${JITSI_HOST}',
|
||||||
|
|
||||||
// When using authentication, domain for guest users.
|
// When using authentication, domain for guest users.
|
||||||
$( if [ -n "${SECURED_DOMAINS}" ]; then cat<<EOF2
|
$( if [ -z "${SECURED_DOMAINS}" ]; then printf "// "
|
||||||
anonymousdomain: 'guest.${JITSI_HOST}',
|
fi)anonymousdomain: 'guest.${JITSI_HOST}',
|
||||||
EOF2
|
|
||||||
else cat <<EOF2
|
|
||||||
// anonymousdomain: 'guest.example.com',
|
|
||||||
EOF2
|
|
||||||
fi
|
|
||||||
)
|
|
||||||
|
|
||||||
// Domain for authenticated users. Defaults to <domain>.
|
// Domain for authenticated users. Defaults to <domain>.
|
||||||
// authdomain: '${JITSI_HOST}',
|
// authdomain: '${JITSI_HOST}',
|
||||||
|
|
Loading…
Reference in a new issue