mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-13 19:31:01 +01:00
Update 61-trusted_domains
This commit is contained in:
@@ -2,7 +2,15 @@
|
||||
|
||||
if bashio::config.has_value 'trusted_domains'; then
|
||||
bashio::log.info "Trusted domains set in the configuration. Refreshing domains." && \
|
||||
|
||||
####################
|
||||
# Set occ location #
|
||||
####################
|
||||
LAUNCHER="/data/config/www/nextcloud/occ"
|
||||
if ! bashio::fs.file_exists '/data/config/www/nextcloud/occ'; then
|
||||
LAUNCHER=`find / -name "occ"`
|
||||
fi
|
||||
|
||||
###################################
|
||||
# Remove previous trusted domains #
|
||||
###################################
|
||||
|
||||
Reference in New Issue
Block a user