mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 14:54:07 +02:00
Update 99-run.sh
This commit is contained in:
@@ -6,7 +6,8 @@
|
|||||||
# GLOBAL VARIABLES #
|
# GLOBAL VARIABLES #
|
||||||
####################
|
####################
|
||||||
|
|
||||||
export BASE_URL=$(bashio::config 'BASE_URL'):$(bashio::addon.port 80)
|
BASE_URL=$(bashio::config 'BASE_URL'):$(bashio::addon.port 80)
|
||||||
|
export BASE_URL="${BASE_URL/https:/http:}"
|
||||||
#export LANG=$(bashio::config 'LANG')
|
#export LANG=$(bashio::config 'LANG')
|
||||||
|
|
||||||
##############
|
##############
|
||||||
@@ -78,7 +79,7 @@ if bashio::config.true 'ssl'; then
|
|||||||
export HTTPS=true
|
export HTTPS=true
|
||||||
export SSL=true
|
export SSL=true
|
||||||
export HTTPS_REDIRECT=true
|
export HTTPS_REDIRECT=true
|
||||||
BASE_URL="$BASE_URL":$(bashio::addon.port 443)
|
BASE_URL=$(bashio::config 'BASE_URL'):$(bashio::addon.port 443)
|
||||||
export BASE_URL="${BASE_URL/http:/https:}"
|
export BASE_URL="${BASE_URL/http:/https:}"
|
||||||
|
|
||||||
#Communication
|
#Communication
|
||||||
|
|||||||
Reference in New Issue
Block a user