This commit is contained in:
Alexandre
2024-04-27 22:28:37 +02:00
committed by GitHub
parent e34490c711
commit cb9462dc04
3 changed files with 2 additions and 31 deletions

View File

@@ -89,9 +89,10 @@
"mysql:want"
],
"slug": "birdnet-pi",
"udev": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pi",
"usb": true,
"version": "0.13-3",
"version": "0.13-4",
"video": true,
"webui": "http://[HOST]:[PORT:80]"
}

View File

@@ -1,22 +0,0 @@
%%interface%%:%%port%% {
reverse_proxy http://localhost:8080 {
header_up Host {host}
header_up X-Forwarded-For {remote}
header_up Connection "upgrade"
header_up Accept-Encoding ""
@base_url {
path /
file {
try_files {path} /%%ingress_entry%%
}
}
handle @base_url {
sub_filter_once off
sub_filter_types *
sub_filter href=\"/ href=\"%%ingress_entry%%/
sub_filter src=\"/ src=\"%%ingress_entry%%/
sub_filter hx-get=\"/ hx-get=\"%%ingress_entry%%/
sub_filter action=\"/ action=\"%%ingress_entry%%/
}
}
}

View File

@@ -1,8 +0,0 @@
#!/usr/bin/with-contenv bashio
echo "Starting service: avahi alias"
until [[ -e /start ]]; do
sleep 1s
done
exec \
s6-setuidgid "$USER" /usr/bin/avahi-publish -a -R %I "$(hostname)"