Merge branch 'master' into codex/build-front-end-with-/birdnet/-base-path

This commit is contained in:
Alexandre
2026-01-31 12:49:00 +01:00
committed by GitHub
64 changed files with 77 additions and 59 deletions

View File

@@ -1,3 +1,5 @@
## 0.3.2-2 (31-01-2026)
- Minor bugs fixed
## 0.3.2-3 (2026-01-30)
- Build frontend with /birdnet/ base path and serve under /birdnet/ for ingress compatibility.

View File

@@ -45,7 +45,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
USER root
# Global LSIO modifications
ENV LSIO_NON_ROOT_USER=1
ENV LSIO_NON_ROOT_USER=0
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh"
ARG CONFIGLOCATION="/config"
RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh

View File

@@ -1,7 +1,7 @@
absolute_redirect off;
rewrite ^%%ingress_entry%%/(.*)$ /$1 break;
sub_filter_once off;
sub_filter_types text/html text/css application/javascript;
sub_filter_types *;
sub_filter '<head>' '<head><base href="%%ingress_entry%%/">';
sub_filter 'href="/' 'href="%%ingress_entry%%/';
sub_filter 'src="/' 'src="%%ingress_entry%%/';