diff --git a/MuoVErsi/handlers.py b/MuoVErsi/handlers.py index c3d10f4..b9944e8 100644 --- a/MuoVErsi/handlers.py +++ b/MuoVErsi/handlers.py @@ -605,9 +605,21 @@ async def telegram(request: Request) -> Response: Update.de_json(data=await request.json(), bot=application.bot) ) return Response() + + async def home(request: Request) -> Response: + sources = thismodule.sources + text_response = '' + return Response(text_response) starlette_app = Starlette( routes=[ + Route("/", home), Route("/tg_bot_webhook", telegram, methods=["POST"]) ] )