diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2025-07-14 14:37:44 +0200 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2025-07-14 14:37:44 +0200 |
| commit | 0396e1fbb46c7256095f05e37f2747baa3e20c73 (patch) | |
| tree | 9b0d8e79628d69c83a12e3c5d7fc0556771542ad /app | |
| parent | 82a154260118311b3d2a96a048353b430c6e0161 (diff) | |
Changed the environment variable name
Diffstat (limited to 'app')
| -rw-r--r-- | app/config.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/config.py b/app/config.py index 2a85d74..761165f 100644 --- a/app/config.py +++ b/app/config.py @@ -1,9 +1,8 @@ from os import environ -from os.path import abspath, dirname, join class Config: - SQLALCHEMY_DATABASE_URI = environ.get("DATABASE_URL") or "sqlite:///" + join(abspath(dirname(__file__)), "app.db") + SQLALCHEMY_DATABASE_URI = environ.get("SQLALCHEMY_DATABASE_URI") COURT_COUNT = 12 PLAYERS_PER_COURT = 4 MIN_PLAYER_LEVEL = 1 |
