mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-28 07:27:38 +01:00
Update 99-run.sh with export var
I don't know if this is actually needed, and at this point i'm too afraid to ask.
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
export ALLOWED_HOSTS=$(bashio::config 'ALLOWED_HOSTS') && bashio::log.blue "ALLOWED_HOSTS=$ALLOWED_HOSTS"
|
export ALLOWED_HOSTS=$(bashio::config 'ALLOWED_HOSTS') && bashio::log.blue "ALLOWED_HOSTS=$ALLOWED_HOSTS"
|
||||||
export SECRET_KEY=$(bashio::config 'SECRET_KEY') && bashio::log.blue "SECRET_KEY=$SECRET_KEY"
|
export SECRET_KEY=$(bashio::config 'SECRET_KEY') && bashio::log.blue "SECRET_KEY=$SECRET_KEY"
|
||||||
|
export DEBUG=$(bashio::config 'DEBUG') && bashio::log.blue "DEBUG=$DEBUG"
|
||||||
|
|
||||||
CSRF_TRUSTED_ORIGINS="http://localhost"
|
CSRF_TRUSTED_ORIGINS="http://localhost"
|
||||||
for element in ${ALLOWED_HOSTS//,/ }; do # Separate comma separated values
|
for element in ${ALLOWED_HOSTS//,/ }; do # Separate comma separated values
|
||||||
|
|||||||
Reference in New Issue
Block a user