mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-29 09:11:44 +00:00
Update 61-trusted_domains
This commit is contained in:
1 parent
34d17512b9
commit
ce258d9552
1 file changed
+8
@@ -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