comment-server/lbry_comment_server/routes.py
2019-05-20 06:49:08 -04:00

7 lines
163 B
Python

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)])