mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update 99-run.sh
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
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"
|
||||
|
||||
CSRF_TRUSTED_ORIGINS=""
|
||||
CSRF_TRUSTED_ORIGINS="http://localhost"
|
||||
for element in ${ALLOWED_HOSTS//,/ }; do # Separate comma separated values
|
||||
element="${element#"https://"}"
|
||||
element="${element#"http://"}"
|
||||
|
||||
Reference in New Issue
Block a user