diff --git a/tandoor_recipes/rootfs/etc/cont-init.d/99-run.sh b/tandoor_recipes/rootfs/etc/cont-init.d/99-run.sh index aceb4475a..3160c2666 100644 --- a/tandoor_recipes/rootfs/etc/cont-init.d/99-run.sh +++ b/tandoor_recipes/rootfs/etc/cont-init.d/99-run.sh @@ -9,6 +9,16 @@ export ALLOWED_HOSTS=$(bashio::config 'ALLOWED_HOSTS') && bashio::log.blue "ALLOWED_HOSTS=$ALLOWED_HOSTS" export SECRET_KEY=$(bashio::config 'SECRET_KEY') && bashio::log.blue "SECRET_KEY=$SECRET_KEY" +################# +# Allow ingress # +################# + +ingress_entry="$(bashio::addon.ingress_entry)" +SCRIPT_NAME="$ingress_entry" +JS_REVERSE_SCRIPT_PREFIX="$ingress_entry"/ +STATIC_URL="$ingress_entry"/static/ +MEDIA_URL="$ingress_entry"/media/ + ################### # Define database # ###################