not working again

This commit is contained in:
Dmitry Afanasyev 2022-08-16 21:30:24 +03:00
parent 66cfb69dd9
commit e3d388f208

View File

@ -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