From a4d9e6d6eb4b6fc068be0d78fdf2ea4ec50283a4 Mon Sep 17 00:00:00 2001 From: MoonTestUse1 Date: Sat, 28 Dec 2024 08:07:53 +0600 Subject: [PATCH] =?UTF-8?q?=D0=90=D0=B2=D1=82=D0=BE=D1=80=D0=B8=D0=B7?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D1=8F=20=20=D0=BF=D0=BE=D1=87=D0=B8=D0=BD?= =?UTF-8?q?=D0=BA=D0=B0=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/.env | 3 +-- backend/app/bot/config.py | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/.env b/backend/.env index 85a173a..9b41864 100644 --- a/backend/.env +++ b/backend/.env @@ -1,4 +1,3 @@ TELEGRAM_BOT_TOKEN=7677506032:AAHduD5EePz3bE23DKlo35KoOp2_9lZuS34 TELEGRAM_CHAT_ID=5057752127 -DATABASE_URL=postgresql://support_user:support_password@postgres:5432/support_db -POSTGRES_PASSWORD=support_password \ No newline at end of file +DATABASE_URL=postgresql://support_user:support_password@postgres:5432/support_db \ No newline at end of file diff --git a/backend/app/bot/config.py b/backend/app/bot/config.py index b34600f..0bb98a9 100644 --- a/backend/app/bot/config.py +++ b/backend/app/bot/config.py @@ -15,6 +15,7 @@ class Settings(BaseSettings): env_file = ".env" env_file_encoding = "utf-8" case_sensitive = True + extra = "ignore" # Allow extra fields in environment # Create settings instance settings = Settings()