Correct API images in notifications.py

Update notifications.py to use localhost:8082 for API images.
This commit is contained in:
Alexandre
2025-09-11 21:15:47 +02:00
committed by GitHub
parent 44c7831076
commit 4322115ea7

View File

@@ -63,6 +63,9 @@ chmod +x /helpers/caddy_ingress.sh
# Correct script execution
/helpers/caddy_ingress.sh
# Correct API images
sed -i "s|localhost|localhost:8082|g" "$HOME/BirdNET-Pi/scripts/utils/notifications.py"
# Update the Caddyfile if update script exists
caddy_update_script="$HOME/BirdNET-Pi/scripts/update_caddyfile.sh"
if [ -f "$caddy_update_script" ]; then