mealie: fix recipe import by limiting nginx rewriting

This commit is contained in:
Alexandre
2025-08-05 08:07:23 +02:00
parent d4dac4559a
commit e73894690b
4 changed files with 7 additions and 3 deletions

View File

@@ -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

View File

@@ -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"
}

View File

@@ -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";

View File

@@ -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",