don't default to a broken environment.
This commit is contained in:
parent
388fcfb42a
commit
44df269eac
|
@ -73,7 +73,7 @@ def setup_config(app: Flask) -> None:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
app.config["ENV_IDENTIFIER"] = os.environ.get(
|
app.config["ENV_IDENTIFIER"] = os.environ.get(
|
||||||
"SPIFFWORKFLOW_BACKEND_ENV", "development"
|
"SPIFFWORKFLOW_BACKEND_ENV", "local_development"
|
||||||
)
|
)
|
||||||
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
|
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
|
||||||
load_config_file(app, "spiffworkflow_backend.config.default")
|
load_config_file(app, "spiffworkflow_backend.config.default")
|
||||||
|
|
Loading…
Reference in New Issue