mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01: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}"
|
||||
for domain in ${TRUSTEDDOMAINS//,/ }; do # Comma separated values
|
||||
bashio::log.info "... adding ${domain}"
|
||||
# shellcheck disable=SC2086
|
||||
$LAUNCHER config:system:set trusted_domains $i --value="${domain}"
|
||||
i=$((i + 1))
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user