Moved app part to web package

This commit is contained in:
Alexey Sokolov
2022-02-10 17:21:47 +03:00
parent 125198a0e2
commit 0c83713a17
6 changed files with 65 additions and 30 deletions

View File

@@ -0,0 +1,14 @@
from aiohttp import web
from config import config
from .views import test_route
TELEGRAM_WEBHOOK_ROUTE = '/' + config.teletoken
routes = [
web.get('/test', test_route)
]
__all__ = ('TELEGRAM_WEBHOOK_ROUTE', 'routes')