Change port also when executing caddy update

This commit is contained in:
Alexandre
2024-05-22 19:56:38 +02:00
committed by GitHub
parent df12df06cc
commit 04b36d0408

View File

@@ -47,6 +47,7 @@ sed -i "s|birdnet_log.sh|cat /proc/1/fd/1|g" "$HOME/BirdNET-Pi/templates/birdnet
echo "... caddyfile modifications"
caddy fmt --overwrite /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
echo "... correcting webui paths"