mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-29 18:56:04 +02:00
Change port also when executing caddy update
This commit is contained in:
@@ -47,6 +47,7 @@ sed -i "s|birdnet_log.sh|cat /proc/1/fd/1|g" "$HOME/BirdNET-Pi/templates/birdnet
|
|||||||
echo "... caddyfile modifications"
|
echo "... caddyfile modifications"
|
||||||
caddy fmt --overwrite /etc/caddy/Caddyfile
|
caddy fmt --overwrite /etc/caddy/Caddyfile
|
||||||
sed -i "s|http://|http://:8081|g" /etc/caddy/Caddyfile
|
sed -i "s|http://|http://:8081|g" /etc/caddy/Caddyfile
|
||||||
|
sed -i "s|http://|http://:8081|g" "$HOME"/BirdNET-Pi/update_caddyfile.sh
|
||||||
|
|
||||||
# Improve webui paths to facilitate ingress
|
# Improve webui paths to facilitate ingress
|
||||||
echo "... correcting webui paths"
|
echo "... correcting webui paths"
|
||||||
|
|||||||
Reference in New Issue
Block a user