настройка отправки сообщения через правильный порт и ключ
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-09-29 23:04:50 +03:00
parent af755115c8
commit a5d3b82092
5 changed files with 80 additions and 12 deletions
+2
View File
@@ -509,6 +509,8 @@ def load_user(user_id):
@bp.before_request
def before_request():
g.prefix = app.config['PREFIX']
g.bot_port = os.getenv('WEBHOOK_PORT', '5005')
g.webhook_secret = os.getenv('WEBHOOK_SECRET')
# Маршруты Blueprint
@bp.route('/')