allow setting configs for the frontend through env vars w/ burnettk
This commit is contained in:
parent
0162821b4c
commit
ec283a2558
|
@ -136,7 +136,7 @@ def setup_logger(app: Flask) -> None:
|
||||||
|
|
||||||
# the json formatter is nice for real environments but makes
|
# the json formatter is nice for real environments but makes
|
||||||
# debugging locally a little more difficult
|
# debugging locally a little more difficult
|
||||||
if app.config["ENV_IDENTIFIER"] != "development":
|
if app.config["ENV_IDENTIFIER"] != "local_development":
|
||||||
json_formatter = JsonFormatter(
|
json_formatter = JsonFormatter(
|
||||||
{
|
{
|
||||||
"level": "levelname",
|
"level": "levelname",
|
||||||
|
|
Loading…
Reference in New Issue