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 }} +