Add Bind IP option

This commit is contained in:
JeLuF
2023-07-11 23:03:11 +02:00
parent 5e0839531e
commit b005332840
2 changed files with 5 additions and 2 deletions

View File

@ -72,7 +72,7 @@ export SD_UI_PATH=`pwd`/ui
export ED_BIND_PORT="$( python scripts/get_config.py --default=9000 net listen_port )"
case "$( python scripts/get_config.py --default=False net listen_to_network )" in
"True")
export ED_BIND_IP=0.0.0.0
export ED_BIND_IP=$( python scripts/get_config.py --default=0.0.0.0) net bind_ip)
;;
"False")
export ED_BIND_IP=127.0.0.1