From 3dcbb241ff9f5cdada7c2ca6e279f82934ecaf44 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 21 Mar 2025 08:50:33 +0100 Subject: [PATCH] Update 91-nginx_ingress.sh --- birdnet-pi/rootfs/etc/cont-init.d/91-nginx_ingress.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/birdnet-pi/rootfs/etc/cont-init.d/91-nginx_ingress.sh b/birdnet-pi/rootfs/etc/cont-init.d/91-nginx_ingress.sh index 858be6800..343dacb1c 100755 --- a/birdnet-pi/rootfs/etc/cont-init.d/91-nginx_ingress.sh +++ b/birdnet-pi/rootfs/etc/cont-init.d/91-nginx_ingress.sh @@ -54,7 +54,7 @@ php_file="$HOME/BirdNET-Pi/scripts/common.php" if [ -f "$php_file" ]; then sed -i "/function is_authenticated/a if (strpos(\$_SERVER['HTTP_REFERER'], '/api/hassio_ingress') !== false && strpos(\$_SERVER['HTTP_REFERER'], trim(file_get_contents('/ingress_url'))) !== false) { \$ret = true; return \$ret; }" "$php_file" else - bashio::log.yellow "PHP file not found: $php_file" + bashio::log.warning "PHP file not found: $php_file" fi echo "... adapting Caddyfile for ingress"