Skip to content

Commit

Permalink
fix: fix config issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki committed Mar 4, 2024
1 parent 546416b commit 800a9da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/settings.py
Expand Up @@ -5,7 +5,10 @@

from .datastructures import DatabaseURL

config = Config(".env")
try:
config = Config(".env")
except Exception:
config = Config()

PROJECT_NAME: str = config("PROJECT_NAME", default="eml_analyzer")

Expand Down

0 comments on commit 800a9da

Please sign in to comment.