<gh_stars>0
from aiohttp import web
from aleph import __version__


async def version(request):
    """Version endpoint."""

    response = web.json_response({"version": __version__})
    return response
