Skip to content
Snippets Groups Projects
Commit 4f1bc736 authored by Ivan Procaccini's avatar Ivan Procaccini
Browse files

Fix: Use os.environ.get to read configuration env vars to avoid issues during dev

parent 65731f84
No related branches found
No related tags found
No related merge requests found
Pipeline #311513 failed
......@@ -25,4 +25,4 @@ class StagingConfig(BaseConfig):
class ProductionConfig(BaseConfig):
SQLALCHEMY_DATABASE_URI = os.environ["DB_URL"]
SQLALCHEMY_DATABASE_URI = os.environ.get("DB_URL")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment