Spaces:
Paused
Paused
Commit
·
2af664a
1
Parent(s):
4741385
updated
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ app.config['REMEMBER_COOKIE_SAMESITE'] = 'None'
|
|
| 59 |
app.config['REMEMBER_COOKIE_SECURE'] = True
|
| 60 |
|
| 61 |
# Configure the database connection
|
| 62 |
-
app.config['SQLALCHEMY_DATABASE_URI'] =
|
| 63 |
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|
| 64 |
|
| 65 |
# Create necessary directories in writable locations
|
|
|
|
| 59 |
app.config['REMEMBER_COOKIE_SECURE'] = True
|
| 60 |
|
| 61 |
# Configure the database connection
|
| 62 |
+
app.config['SQLALCHEMY_DATABASE_URI'] = os.getenv("DATABASE_URL")
|
| 63 |
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|
| 64 |
|
| 65 |
# Create necessary directories in writable locations
|