This commit is contained in:
parent
767c24d5b7
commit
01ee619093
|
@ -1,6 +1,11 @@
|
|||
from os import environ
|
||||
|
||||
PORT = 80
|
||||
DB_URL = (
|
||||
environ.get("DATABASE_URL", "").replace("postgres://", "postgresql://")
|
||||
or environ.get("DB_URL", "").replace("postgres://", "postgresql://")
|
||||
or "postgresql://postgres@localhost:5432/discoursio"
|
||||
)
|
||||
REDIS_URL = environ.get("REDIS_URL") or "redis://127.0.0.1"
|
||||
API_BASE = environ.get("API_BASE") or ""
|
||||
AUTH_URL = environ.get("AUTH_URL") or ""
|
||||
|
|
Loading…
Reference in New Issue
Block a user