Removed feature flag

This commit is contained in:
alexjanousekGSA
2025-03-20 14:22:41 -04:00
parent cb4cfeb610
commit 35f3203e9c
5 changed files with 15 additions and 16 deletions

View File

@@ -170,13 +170,14 @@ def _csp(config):
def create_app(application):
@application.context_processor
def inject_feature_flags():
feature_about_page_enabled = application.config.get(
"FEATURE_ABOUT_PAGE_ENABLED", False
)
return dict(
FEATURE_ABOUT_PAGE_ENABLED=feature_about_page_enabled,
)
# def inject_feature_flags():
## this is where feature flags can be easily added as a dictionary within context
# feature_about_page_enabled = application.config.get(
# "FEATURE_ABOUT_PAGE_ENABLED", False
# )
# return dict(
# FEATURE_ABOUT_PAGE_ENABLED=feature_about_page_enabled,
# )
@application.context_processor
def inject_initial_signin_url():