Merge pull request #1827 from marcjay/bugfix-1826-detection-review

[BirdNET-Go] Add nginx sub_filter for hx-post to ensure that forms such as Review Detection can be submitted successfully
This commit is contained in:
Alexandre
2025-03-30 20:20:33 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -114,5 +114,5 @@
"slug": "birdnet-go",
"udev": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-go",
"version": "0.6.4"
"version": "0.6.4-2"
}

View File

@@ -22,6 +22,7 @@
sub_filter href=\"/ href=\"%%ingress_entry%%/;
sub_filter src=\"/ src=\"%%ingress_entry%%/;
sub_filter hx-get=\"/ hx-get=\"%%ingress_entry%%/;
sub_filter hx-post=\"/ hx-post=\"%%ingress_entry%%/;
sub_filter action=\"/ action=\"%%ingress_entry%%/;
sub_filter EventSource('/ EventSource('%%ingress_entry%%/;
sub_filter fetch('/ fetch('%%ingress_entry%%/;