Add base_url_portless option

https://github.com/alexbelgium/hassio-addons/issues/540
This commit is contained in:
Alexandre
2022-11-06 19:03:24 +01:00
committed by GitHub
parent 88616f9935
commit d40f9fc94e

View File

@@ -9,6 +9,13 @@
export BASE_URL=$(bashio::config 'BASE_URL'):$(bashio::addon.port 80)
#export LANG=$(bashio::config 'LANG')
##############
# CLOUDFLARE #
##############
if bashio::config.true "base_url_portless"; then
export BASE_URL=$(bashio::config 'BASE_URL')
fi
###################
# Define database #