mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-29 17:21:44 +00:00
Correct API images in notifications.py
Update notifications.py to use localhost:8082 for API images.
This commit is contained in:
1 parent
44c7831076
commit
4322115ea7
1 file changed
+3
@@ -63,6 +63,9 @@ chmod +x /helpers/caddy_ingress.sh
|
|||||||
# Correct script execution
|
# Correct script execution
|
||||||
/helpers/caddy_ingress.sh
|
/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
|
# Update the Caddyfile if update script exists
|
||||||
caddy_update_script="$HOME/BirdNET-Pi/scripts/update_caddyfile.sh"
|
caddy_update_script="$HOME/BirdNET-Pi/scripts/update_caddyfile.sh"
|
||||||
if [ -f "$caddy_update_script" ]; then
|
if [ -f "$caddy_update_script" ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user