mirror of https://github.com/OpenVidu/openvidu.git
openvidu-deployment: Typo entrypoint.sh
parent
6a73083e7b
commit
b9de4f38be
|
@ -24,7 +24,7 @@ printf "\n ======================================="
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|
||||||
# Get coturn public ip
|
# Get coturn public ip
|
||||||
[[ -z ${COTURN_IP} ]] && export COTURN_IP=auto-ipv4
|
[[ -z "${COTURN_IP}" ]] && export COTURN_IP=auto-ipv4
|
||||||
if [[ -z "${COTURN_IP}" == "auto-ipv4" ]]; then
|
if [[ -z "${COTURN_IP}" == "auto-ipv4" ]]; then
|
||||||
COTURN_IP=$(/usr/local/bin/discover_my_public_ip.sh)
|
COTURN_IP=$(/usr/local/bin/discover_my_public_ip.sh)
|
||||||
elif [[ -z "${COTURN_IP}" == "auto-ipv6" ]]; then
|
elif [[ -z "${COTURN_IP}" == "auto-ipv6" ]]; then
|
||||||
|
|
|
@ -7,7 +7,7 @@ printf "\n ======================================="
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|
||||||
# Get coturn public ip
|
# Get coturn public ip
|
||||||
[[ -z ${COTURN_IP} ]] && export COTURN_IP=auto-ipv4
|
[[ -z "${COTURN_IP}" ]] && export COTURN_IP=auto-ipv4
|
||||||
if [[ -z "${COTURN_IP}" == "auto-ipv4" ]]; then
|
if [[ -z "${COTURN_IP}" == "auto-ipv4" ]]; then
|
||||||
COTURN_IP=$(/usr/local/bin/discover_my_public_ip.sh)
|
COTURN_IP=$(/usr/local/bin/discover_my_public_ip.sh)
|
||||||
elif [[ -z "${COTURN_IP}" == "auto-ipv6" ]]; then
|
elif [[ -z "${COTURN_IP}" == "auto-ipv6" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue