sqlalchemy-debug
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
2023-12-24 17:25:57 +03:00
parent 8856bfc978
commit 392712c604
8 changed files with 44 additions and 48 deletions

View File

@@ -1,4 +1,5 @@
from os import environ
import sys
PORT = 8080
DB_URL = (
@@ -9,6 +10,6 @@ DB_URL = (
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 ""
MODE = environ.get("MODE") or "production"
SENTRY_DSN = environ.get("SENTRY_DSN")
DEV_SERVER_PID_FILE_NAME = "dev-server.pid"
MODE = "development" if "dev" in sys.argv else "production"