mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-26 15:54:17 +00:00
Update 61-trusted_domains
This commit is contained in:
1 parent
955afebc9a
commit
cba5cd94f1
1 file changed
+2
-3
@@ -10,10 +10,9 @@ LAUNCHER=`find / -name "occ" -print -quit`
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
bashio::log.info "Currently set trusted domains :"
|
bashio::log.info "Currently set trusted domains :"
|
||||||
$LAUNCHER config:system:get trusted_domains || bashio::log.info "Please first define an admin user before adding additional trusted domains." \
|
$LAUNCHER config:system:get trusted_domains || bashio::log.info "Please first define an admin user before adding additional trusted domains." || exit
|
||||||
&& installation="no" \
|
|
||||||
|
|
||||||
if bashio::config.has_value 'trusted_domains' && $installation != "no"; then
|
if bashio::config.has_value 'trusted_domains'; then
|
||||||
bashio::log.info "Trusted domains set in the configuration. Refreshing domains." && \
|
bashio::log.info "Trusted domains set in the configuration. Refreshing domains." && \
|
||||||
###################################
|
###################################
|
||||||
# Remove previous trusted domains #
|
# Remove previous trusted domains #
|
||||||
|
|||||||
Reference in new issue
Block a user