mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-12-16 21:50:39 +03:00
not working again
This commit is contained in:
@@ -83,7 +83,7 @@ async def webhook(request: web.Request) -> web.Response:
|
|||||||
|
|
||||||
async def create_app() -> web.Application:
|
async def create_app() -> web.Application:
|
||||||
application = 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_startup.append(on_startup_gunicorn)
|
||||||
application.on_shutdown.append(on_shutdown_gunicorn)
|
application.on_shutdown.append(on_shutdown_gunicorn)
|
||||||
return application
|
return application
|
||||||
|
|||||||
Reference in New Issue
Block a user