7 lines
163 B
Python
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)])
|