From 32874a816d894dc8d012eee24ce96887d6851d5d Mon Sep 17 00:00:00 2001 From: Michael Poluektov Date: Mon, 19 Aug 2024 10:04:08 +0100 Subject: [PATCH] add filter toggle envvars --- backend/config.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/config.py b/backend/config.py index 3453ee24b..1850fcefc 100644 --- a/backend/config.py +++ b/backend/config.py @@ -174,6 +174,12 @@ for version in soup.find_all("h2"): CHANGELOG = changelog_json +#################################### +# FILTERS +#################################### + +ENABLE_TOOLS_FILTER = os.environ.get("ENABLE_TOOLS_FILTER", "True").lower() == "true" +ENABLE_FILES_FILTER = os.environ.get("ENABLE_FILES_FILTER", "True").lower() == "true" #################################### # SAFE_MODE