mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 07:35:56 +02:00
Merge branch 'master' into codex/build-front-end-with-/birdnet/-base-path
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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%%/';
|
||||
|
||||
Reference in New Issue
Block a user