mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
changed to gunicorn
This commit is contained in:
parent
21db4c2272
commit
885cc02542
@ -67,7 +67,7 @@ async def webhook(request: web.Request) -> web.Response:
|
||||
|
||||
|
||||
async def on_startup_gunicorn(app: web.Application) -> None:
|
||||
await dispatcher.bot.set_webhook(WEBHOOK_URL)
|
||||
await Bot.get_current().set_webhook(WEBHOOK_URL)
|
||||
|
||||
|
||||
async def create_app() -> web.Application:
|
||||
|
Loading…
x
Reference in New Issue
Block a user