mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Add base_url_portless option
https://github.com/alexbelgium/hassio-addons/issues/540
This commit is contained in:
@@ -9,6 +9,13 @@
|
|||||||
export BASE_URL=$(bashio::config 'BASE_URL'):$(bashio::addon.port 80)
|
export BASE_URL=$(bashio::config 'BASE_URL'):$(bashio::addon.port 80)
|
||||||
#export LANG=$(bashio::config 'LANG')
|
#export LANG=$(bashio::config 'LANG')
|
||||||
|
|
||||||
|
##############
|
||||||
|
# CLOUDFLARE #
|
||||||
|
##############
|
||||||
|
|
||||||
|
if bashio::config.true "base_url_portless"; then
|
||||||
|
export BASE_URL=$(bashio::config 'BASE_URL')
|
||||||
|
fi
|
||||||
|
|
||||||
###################
|
###################
|
||||||
# Define database #
|
# Define database #
|
||||||
|
|||||||
Reference in New Issue
Block a user