mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-24 09:41:50 +02:00
Update 61-trusted_domains
This commit is contained in:
@@ -2,7 +2,15 @@
|
|||||||
|
|
||||||
if bashio::config.has_value 'trusted_domains'; 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." && \
|
||||||
|
|
||||||
|
####################
|
||||||
|
# Set occ location #
|
||||||
|
####################
|
||||||
|
LAUNCHER="/data/config/www/nextcloud/occ"
|
||||||
|
if ! bashio::fs.file_exists '/data/config/www/nextcloud/occ'; then
|
||||||
LAUNCHER=`find / -name "occ"`
|
LAUNCHER=`find / -name "occ"`
|
||||||
|
fi
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
# Remove previous trusted domains #
|
# Remove previous trusted domains #
|
||||||
###################################
|
###################################
|
||||||
|
|||||||
Reference in New Issue
Block a user