Skip to content

Commit

Permalink
Fix default env variables (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Munro authored Nov 3, 2021
1 parent b3d4c44 commit 440f18e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
default_settings = MAPISettings()

db_uri = os.environ.get("MPCONTRIBS_MONGO_HOST", None)
db_version = os.environ.get("DB_VERSION", default_settings.DB_VERSION)
db_suffix = os.environ.get("DB_NAME_SUFFIX", db_version)
debug = os.environ.get("API_DEBUG", default_settings.DEBUG)
db_version = default_settings.DB_VERSION
db_suffix = os.environ.get("MAPI_DB_NAME_SUFFIX", db_version)
debug = default_settings.DEBUG

materials_store_json = os.environ.get("MATERIALS_STORE", "materials_store.json")
formula_autocomplete_store_json = os.environ.get(
Expand Down

0 comments on commit 440f18e

Please sign in to comment.