From 345f8fd121ff803ce6ff391d39356d1828a29b9d Mon Sep 17 00:00:00 2001 From: gitadmin Date: Fri, 14 Nov 2025 12:43:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B4=D0=B0=D1=87?= =?UTF-8?q?=D0=B0=20=D0=B2=20=D1=84=D1=80=D0=BE=D0=BD=D1=82=20=D1=80=D0=B5?= =?UTF-8?q?=D0=B6=D0=B8=D0=BC=D0=B0=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B?= =?UTF-8?q?=20VOLK/ZILANT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db_edit.py | 1 + templates/index.html | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/db_edit.py b/db_edit.py index 5e9848c..2922f1b 100644 --- a/db_edit.py +++ b/db_edit.py @@ -514,6 +514,7 @@ def before_request(): g.bot_port = os.getenv('WEBHOOK_PORT', '5005') g.webhook_secret = os.getenv('WEBHOOK_SECRET') g.webhook_url = os.getenv('WEBHOOK_URL') + g.workmode = os.getenv('WORKMODE', 'ZILANT') # Маршруты Blueprint @bp.route('/') diff --git a/templates/index.html b/templates/index.html index 77df338..e951de0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -397,6 +397,10 @@ + + + {{ g.workmode }} +