diff --git a/settings.py b/settings.py index 74ad764f..9dee1051 100644 --- a/settings.py +++ b/settings.py @@ -5,7 +5,7 @@ PORT = 8080 BACKEND_URL = "https://localhost:8080" -DB_URL = environ.get("DB_URL") or "sqlite:///db.sqlite3" +DB_URL = environ.get("DATABASE_URL") or environ.get("DB_URL") or "sqlite:///db.sqlite3" JWT_ALGORITHM = "HS256" JWT_SECRET_KEY = "8f1bd7696ffb482d8486dfbc6e7d16dd-secret-key" JWT_LIFE_SPAN = 24 * 60 * 60 # seconds