don't default to a broken environment.

This commit is contained in:
Dan 2023-02-12 15:00:17 -05:00
parent e18a0702d4
commit 014d24fbda
1 changed files with 1 additions and 1 deletions

View File

@ -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")