Moved app part to web package
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user