DB_URI to DB_URL

This commit is contained in:
knst-kotov
2021-07-26 09:17:22 +00:00
parent a872ebdf31
commit f132b09e4f
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ from os import environ
PORT = 80
DB_URI = environ.get("DB_URI") or "postgresql://postgres:postgres@localhost/discours"
DB_URL = environ.get("DB_URL") or "postgresql://postgres:postgres@localhost/discours"
JWT_ALGORITHM = "HS256"
JWT_SECRET_KEY = "8f1bd7696ffb482d8486dfbc6e7d16dd-secret-key"
JWT_LIFE_SPAN = 24 * 60 * 60 # seconds