* исправила переменную DATABASE_URL_FILE

This commit is contained in:
vasyukova
2026-09-30 22:47:03 +03:00
parent 3d89ca0521
commit 58403c0aa5
+2 -2
View File
@@ -6,9 +6,9 @@ import psycopg
def _dsn() -> str:
dsn = os.environ.get("DATABASE_URL")
dsn = os.environ.get("DATABASE_URL_FILE")
if not dsn:
raise RuntimeError("DATABASE_URL is not set")
raise RuntimeError("DATABASE_URL_FILE is not set")
return dsn