From 6dd94f7797a5dc42418dbe350e0a58324687b85a Mon Sep 17 00:00:00 2001 From: nough Date: Tue, 23 May 2023 18:53:47 +0100 Subject: [PATCH] added option to disable debug mode --- tandoor_recipes/config.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tandoor_recipes/config.json b/tandoor_recipes/config.json index a03b07bb6..248daef0a 100644 --- a/tandoor_recipes/config.json +++ b/tandoor_recipes/config.json @@ -56,7 +56,6 @@ ], "environment": { "DB_ENGINE": "django.db.backends.sqlite3", - "DEBUG": "1", "DISABLE_INGRESS": "true", "POSTGRES_DB": "/config/addons_config/tandoor_recipes/recipes.db", "TRUSTED_PROXIES": "**" @@ -69,7 +68,8 @@ "options": { "ALLOWED_HOSTS": "", "DB_TYPE": "sqlite", - "SECRET_KEY": "YOUR_SECRET_KEY" + "SECRET_KEY": "YOUR_SECRET_KEY", + "DEBUG": "1" }, "panel_icon": "mdi:silverware-fork-knife", "panel_title": "Tandoor Recipes", @@ -87,7 +87,8 @@ "POSTGRES_PASSWORD": "str?", "POSTGRES_PORT": "str?", "POSTGRES_USER": "str?", - "SECRET_KEY": "str" + "SECRET_KEY": "str", + "DEBUG": "list(1|0)" }, "services": [ "mysql:want"