mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 05:14:04 +02:00
Update 99-trusted_domains.sh
This commit is contained in:
@@ -39,6 +39,7 @@ if bashio::config.has_value 'trusted_domains'; then
|
|||||||
bashio::log.info "... alignement with trusted domains list : ${TRUSTEDDOMAINS}"
|
bashio::log.info "... alignement with trusted domains list : ${TRUSTEDDOMAINS}"
|
||||||
for domain in ${TRUSTEDDOMAINS//,/ }; do # Comma separated values
|
for domain in ${TRUSTEDDOMAINS//,/ }; do # Comma separated values
|
||||||
bashio::log.info "... adding ${domain}"
|
bashio::log.info "... adding ${domain}"
|
||||||
|
# shellcheck disable=SC2086
|
||||||
$LAUNCHER config:system:set trusted_domains $i --value="${domain}"
|
$LAUNCHER config:system:set trusted_domains $i --value="${domain}"
|
||||||
i=$((i + 1))
|
i=$((i + 1))
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user