mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
not working again
This commit is contained in:
parent
66cfb69dd9
commit
e3d388f208
@ -83,7 +83,7 @@ async def webhook(request: web.Request) -> web.Response:
|
||||
|
||||
async def create_app() -> web.Application:
|
||||
application = web.Application()
|
||||
application.router.add_post(WEBHOOK_PATH, webhook)
|
||||
application.router.add_post('/', webhook)
|
||||
application.on_startup.append(on_startup_gunicorn)
|
||||
application.on_shutdown.append(on_shutdown_gunicorn)
|
||||
return application
|
||||
|
Loading…
x
Reference in New Issue
Block a user