Source code

Revision control

Copy as Markdown

Other Tools

#!/usr/bin/env python3
import pathlib
from aiohttp import web
app = web.Application()
app.router.add_static("/", pathlib.Path(__file__).parent, show_index=True)
web.run_app(app)