Skip to content

Commit

Permalink
Only add some app config to the templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Jul 31, 2024
1 parent 19d5a0e commit 9fcd82d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,14 @@ def context_processor():
return dict(
cookie_preference=cookie_preference,
now_iso_8601=now_iso_8601,
app_config=app.config,
app_config={
"ENVIRONMENT": app.config.get("ENVIRONMENT"),
"TNA_FRONTEND_VERSION": app.config.get("TNA_FRONTEND_VERSION"),
"BUILD_VERSION": app.config.get("BUILD_VERSION"),
"COOKIE_DOMAIN": app.config.get("COOKIE_DOMAIN"),
"GA4_ID": app.config.get("GA4_ID"),
},
feature={},
)

from .healthcheck import bp as healthcheck_bp
Expand Down

0 comments on commit 9fcd82d

Please sign in to comment.