settings-fix
Some checks failed
deploy / deploy (push) Failing after 1m41s

This commit is contained in:
Untone 2023-11-24 05:29:48 +03:00
parent 767c24d5b7
commit 01ee619093

View File

@ -1,6 +1,11 @@
from os import environ from os import environ
PORT = 80 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" REDIS_URL = environ.get("REDIS_URL") or "redis://127.0.0.1"
API_BASE = environ.get("API_BASE") or "" API_BASE = environ.get("API_BASE") or ""
AUTH_URL = environ.get("AUTH_URL") or "" AUTH_URL = environ.get("AUTH_URL") or ""