comment-server/lbry_comment_server/routes.py

8 lines
163 B
Python
Raw Normal View History

2019-05-20 06:49:08 -04:00
from aiohttp import web
from lbry_comment_server import api_endpoint
def add_routes(app: web.Application):
app.add_routes([web.post('/api', api_endpoint)])