From 9bd3afe21f1e84f722bcfe5fedae5478ce6518ec Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 30 Jun 2022 12:25:07 +0200 Subject: [PATCH] Update 99-run.sh --- tandoor_recipes/rootfs/etc/cont-init.d/99-run.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 # ###################