Update 99-run.sh

This commit is contained in:
Alexandre
2022-12-28 16:17:19 +01:00
committed by GitHub
parent be1b5f48db
commit fcb0729308

View File

@@ -2,14 +2,6 @@
# shellcheck shell=bash
# shellcheck disable=SC2155
####################
# GLOBAL VARIABLES #
####################
BASE_URL=$(bashio::config 'BASE_URL'):$(bashio::addon.port 80)
export BASE_URL="${BASE_URL/https:/http:}"
#export LANG=$(bashio::config 'LANG')
##############
# CLOUDFLARE #
##############
@@ -87,7 +79,11 @@ if bashio::config.true 'ssl'; then
else
export HTTPS=false
export HTTPS=false
export SSL=false
export HTTPS_REDIRECT=false
BASE_URL=$(bashio::config 'BASE_URL'):$(bashio::addon.port 80)
export BASE_URL="${BASE_URL/https:/http:}"
fi