diff --git a/web/__init__.py b/web/__init__.py new file mode 100644 index 00000000..f826dc1b --- /dev/null +++ b/web/__init__.py @@ -0,0 +1,11 @@ +from aiohttp import web +from aiohttp.web_urldispatcher import UrlDispatcher + +import bot + + +async def register_web_routes(router: UrlDispatcher) -> None: + app = web.Application() + dp = bot.dp + + # todo: add your api routes here