local dev with sqlite, exposing port 8080
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
from pathlib import Path
|
||||
from os import environ
|
||||
|
||||
PORT = 80
|
||||
PORT = 8080
|
||||
|
||||
DB_URL = environ.get("DB_URL") or "postgresql://postgres:postgres@localhost/discours"
|
||||
DB_URL = environ.get("DB_URL") or "sqlite:///database.sqlite3"
|
||||
JWT_ALGORITHM = "HS256"
|
||||
JWT_SECRET_KEY = "8f1bd7696ffb482d8486dfbc6e7d16dd-secret-key"
|
||||
JWT_LIFE_SPAN = 24 * 60 * 60 # seconds
|
||||
|
Reference in New Issue
Block a user