From a7e064d3a8004acf0af0a2b79c0ce03eceb779f3 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 21 Mar 2025 08:50:24 +0100 Subject: [PATCH] Update 91-nginx_ingress.sh --- birdnet-pi/rootfs/etc/cont-init.d/91-nginx_ingress.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 0ddf0a3f7..858be6800 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,8 +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.error "PHP file not found: $php_file" - exit 1 + bashio::log.yellow "PHP file not found: $php_file" fi echo "... adapting Caddyfile for ingress"