From 58403c0aa5d277308730e27c10b3500a835fd272 Mon Sep 17 00:00:00 2001 From: vasyukova Date: Wed, 30 Sep 2026 22:47:03 +0300 Subject: [PATCH] =?UTF-8?q?*=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=D0=B0=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD?= =?UTF-8?q?=D1=83=D1=8E=20DATABASE=5FURL=5FFILE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/storage/db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/storage/db.py b/src/app/storage/db.py index 40be8902..c79bb874 100644 --- a/src/app/storage/db.py +++ b/src/app/storage/db.py @@ -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