mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-08 15:01:00 +02:00
Prepare code for additional domains in config
This commit is contained in:
@@ -15,3 +15,13 @@ if bashio::config.has_value 'OCR'; then
|
|||||||
apk del tesseract-ocr.*
|
apk del tesseract-ocr.*
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Add additional trusted domains
|
||||||
|
|
||||||
|
# if bashio::config.has_value 'Trusted_Domains'; then
|
||||||
|
# TRUSTEDDOMAINS=$(bashio::config 'Trusted_Domains')
|
||||||
|
# for domains in $TRUSTEDDOMAINS
|
||||||
|
# do
|
||||||
|
# ./occ config:system:set trusted_domains 2 --value=$domains
|
||||||
|
# done || \
|
||||||
|
# fi
|
||||||
|
|||||||
Reference in New Issue
Block a user