mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
mealie: fix recipe import by limiting nginx rewriting
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
## v3.0.2-3 (05-08-2025)
|
||||
- Prevent nginx from rewriting JSON responses to resolve recipe import errors
|
||||
|
||||
## v3.0.2-2 (25-07-2025)
|
||||
- Minor bugs fixed
|
||||
|
||||
|
||||
@@ -120,5 +120,5 @@
|
||||
"slug": "mealie",
|
||||
"udev": true,
|
||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||
"version": "v3.0.2-2"
|
||||
"version": "v3.0.2-3"
|
||||
}
|
||||
|
||||
@@ -31,7 +31,8 @@
|
||||
absolute_redirect off;
|
||||
proxy_redirect / %%ingress_entry%%/;
|
||||
sub_filter_once off;
|
||||
sub_filter_types *;
|
||||
# Limit rewriting to text-based responses to avoid corrupting JSON payloads
|
||||
sub_filter_types text/html text/css application/javascript;
|
||||
sub_filter '"/api' '"%%ingress_entry%%/api';
|
||||
sub_filter '`/api' '`%%ingress_entry%%/api';
|
||||
sub_filter "'/api" "'%%ingress_entry%%/api";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"github_beta": "true",
|
||||
"github_fulltag": "true",
|
||||
"last_update": "25-07-2025",
|
||||
"last_update": "05-08-2025",
|
||||
"paused": "false",
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "mealie",
|
||||
|
||||
Reference in New Issue
Block a user