From 17b89ef71237762a87e1c061fc0abf056bb5abc1 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 30 Jun 2022 12:26:43 +0200 Subject: [PATCH] Update 99-run.sh --- tandoor_recipes/rootfs/etc/cont-init.d/99-run.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 3160c2666..b142cf186 100644 --- a/tandoor_recipes/rootfs/etc/cont-init.d/99-run.sh +++ b/tandoor_recipes/rootfs/etc/cont-init.d/99-run.sh @@ -13,11 +13,12 @@ export SECRET_KEY=$(bashio::config 'SECRET_KEY') && bashio::log.blue "SECRET_KEY # Allow ingress # ################# +bashio::log.info "Setting 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/ +export SCRIPT_NAME="$ingress_entry" +export JS_REVERSE_SCRIPT_PREFIX="$ingress_entry"/ +export STATIC_URL="$ingress_entry"/static/ +export MEDIA_URL="$ingress_entry"/media/ ################### # Define database #