Added template support.
Some checks failed
Build Base Application / Build (push) Has been cancelled

This commit is contained in:
retoor 2024-12-28 16:38:01 +01:00
parent 8d7f10d21b
commit 30760aa412

View File

@ -50,6 +50,7 @@ class BaseApplication(RPCApplication):
)
self.agents = {}
super().__init__(middlewares=middlewares, *args, **kwargs)
aiohttp_jinja2.setup(self, loader=jinja2.FileSystemLoader(self.template_path))
def run(self, *args, **kwargs):
if kwargs.get("port"):