🚩(backend) add feature flag for the footer

We added the feature flag `FRONTEND_FOOTER_FEATURE_ENABLED`
to enable or disable the footer in the frontend.
This commit is contained in:
Anthony LC
2025-04-04 15:31:57 +02:00
committed by Anthony LC
parent 8836109945
commit c11d59c434
7 changed files with 14 additions and 2 deletions

View File

@@ -413,6 +413,11 @@ class Base(Configuration):
FRONTEND_URL_JSON_FOOTER = values.Value(
None, environ_name="FRONTEND_URL_JSON_FOOTER", environ_prefix=None
)
FRONTEND_FOOTER_FEATURE_ENABLED = values.BooleanValue(
default=False,
environ_name="FRONTEND_FOOTER_FEATURE_ENABLED",
environ_prefix=None,
)
FRONTEND_FOOTER_VIEW_CACHE_TIMEOUT = values.Value(
60 * 60 * 24,
environ_name="FRONTEND_FOOTER_VIEW_CACHE_TIMEOUT",