mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-01 23:00:52 +02:00
Update 99-run.sh
This commit is contained in:
@@ -2,14 +2,6 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
# shellcheck disable=SC2155
|
# 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 #
|
# CLOUDFLARE #
|
||||||
##############
|
##############
|
||||||
@@ -87,7 +79,11 @@ if bashio::config.true 'ssl'; then
|
|||||||
|
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user