Update 19-config.sh

This commit is contained in:
Alexandre
2022-06-12 08:49:04 +02:00
committed by GitHub
parent 49fda83ad4
commit 4785dcc46e

View File

@@ -81,7 +81,7 @@ CONFIG=$(bashio::jq "${CONFIG}" ".\"rpc-host-whitelist-enabled\"=false")
CONFIG=$(bashio::jq "${CONFIG}" ".\"bind-address-ipv4\"=\"0.0.0.0\"")
if bashio::config.has_value 'watch_dir'; then
CONFIG=$(bashio::jq "${CONFIG}" ".\"watch-dir\"=\"${watch_dir}\"")
CONFIG=$(bashio::jq "${CONFIG}" ".\"watch-dir\"=\"$(bashio::config 'watch_dir')\"")
fi
echo "${CONFIG}" >"$CONFIGDIR"/settings.json &&