mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01: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 LANG=$(bashio::config 'LANG')
|
||||
|
||||
##############
|
||||
# CLOUDFLARE #
|
||||
##############
|
||||
|
||||
if bashio::config.true "base_url_portless"; then
|
||||
export BASE_URL=$(bashio::config 'BASE_URL')
|
||||
fi
|
||||
|
||||
###################
|
||||
# Define database #
|
||||
|
||||
Reference in New Issue
Block a user