Skip to content

Commit

Permalink
feat: complie with kyle way of overriding config
Browse files Browse the repository at this point in the history
  This is complie with Kyle PR openedx/edx-platform/pull/30830
  • Loading branch information
ghassanmas committed Oct 16, 2022
1 parent 0af59f5 commit 5fad69b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tutormfe/patches/openedx-lms-production-settings
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,16 @@ MFE_CONFIG = {
"USER_INFO_COOKIE_NAME": "user-info"
}


MFE_CONFIG_OVERRIDES = {
{% for app in iter_values_named(suffix="MFE_APP") %}
MFE_CONFIG_{{app.get('name') | upper }} = {
"{{app.get('name')}}": {
{%- for key, value in app.get("env", {}).get("production", {}).items() %}

"{{ key }}": "{{ value }}",

{%- endfor %}
}
},
{% endfor %}
}
# Ends Dynamic config API settings

0 comments on commit 5fad69b

Please sign in to comment.