diff --git a/cookcli/rootfs/etc/services.d/cookcli/run b/cookcli/rootfs/etc/services.d/cookcli/run index 4845f89..9383f6d 100644 --- a/cookcli/rootfs/etc/services.d/cookcli/run +++ b/cookcli/rootfs/etc/services.d/cookcli/run @@ -5,15 +5,15 @@ RECIPES_PATH=$(bashio::config 'recipes_path') PORT=9081 # Récupérer le chemin Ingress -INGRESS_TOKEN=$(bashio::config 'ingress_token') -if [ -n "$INGRESS_TOKEN" ]; then - INGRESS_PATH="/api/hassio_ingress/${INGRESS_TOKEN}" - bashio::log.info "Chemin Ingress: ${INGRESS_PATH}" -else - INGRESS_PATH="" -fi +#INGRESS_TOKEN=$(bashio::config 'ingress_token') +#if [ -n "$INGRESS_TOKEN" ]; then +# INGRESS_PATH="/api/hassio_ingress/${INGRESS_TOKEN}" +# bashio::log.info "Chemin Ingress: ${INGRESS_PATH}" +#else +# INGRESS_PATH="" +#fi -bashio::log.info "Démarrage de CookCLI sur le port ${PORT}..." +bashio::log.info "${INGRESS_PATH} Démarrage de CookCLI sur le port ${PORT}..." # Si CookCLI supporte --base-path if [ -n "$INGRESS_PATH" ]; then