Update 99-run.sh

This commit is contained in:
Alexandre
2022-12-28 16:16:10 +01:00
committed by GitHub
parent 20fca30a95
commit be1b5f48db

View File

@@ -6,7 +6,8 @@
# 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')
##############
@@ -78,7 +79,7 @@ if bashio::config.true 'ssl'; then
export HTTPS=true
export SSL=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:}"
#Communication