sedi-relay/relay/http_stats.py
2018-11-18 22:03:53 +00:00

12 lines
178 B
Python

import aiohttp.web
from . import app
from .http_debug import STATS
async def stats(request):
return aiohttp.web.json_response(STATS)
app.router.add_get('/stats', stats)