Heroku/hikka/web/root.py

20 lines
541 B
Python
Executable File

"""
█ █ ▀ █▄▀ ▄▀█ █▀█ ▀ ▄▀█ ▀█▀ ▄▀█ █▀▄▀█ ▄▀█
█▀█ █ █ █ █▀█ █▀▄ █ ▄ █▀█ █ █▀█ █ ▀ █ █▀█
Copyright 2022 t.me/hikariatama
Licensed under the GNU GPLv3
"""
import aiohttp_jinja2
class Web:
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.app.router.add_get("/", self.root)
@aiohttp_jinja2.template("root.jinja2")
async def root(self, request):
return {}