Skip to content

A live bird collage card for your Home Assistant dashboard.

adding localhost to Caddyfile

Patrick McGuire9579dd86d87f
diff --git a/scripts/install_services.sh b/scripts/install_services.sh
index 845e16cd..b73ffed8 100755
--- a/scripts/install_services.sh
+++ b/scripts/install_services.sh
@@ -198,7 +198,7 @@ install_Caddyfile() {
fi
HASHWORD=$(caddy hash-password -plaintext ${CADDY_PWD})
cat << EOF > /etc/caddy/Caddyfile
-http://birdnetpi.local ${BIRDNETPI_URL} {
+http://localhost http://birdnetpi.local ${BIRDNETPI_URL} {
root * ${EXTRACTED}
file_server browse
basicauth /Processed* {
diff --git a/scripts/update_services.sh b/scripts/update_services.sh
index 7d4b7b01..e05c1f85 100755
--- a/scripts/update_services.sh
+++ b/scripts/update_services.sh
@@ -200,7 +200,7 @@ install_Caddyfile() {
fi
HASHWORD=$(caddy hash-password -plaintext ${CADDY_PWD})
cat << EOF > /etc/caddy/Caddyfile
-http://birdnetpi.local ${BIRDNETPI_URL} {
+http://localhost http://birdnetpi.local ${BIRDNETPI_URL} {
root * ${EXTRACTED}
file_server browse
basicauth /Processed* {