Automated update of Base Application package.

This commit is contained in:
bot 2025-01-27 22:58:58 +00:00
parent ef4bc87383
commit fb42dba59f
3 changed files with 3 additions and 3 deletions

Binary file not shown.

BIN
dist/app-1.0.0.tar.gz vendored

Binary file not shown.

View File

@ -128,9 +128,9 @@ class BaseApplication(RPCApplication):
async def render_template(self, name, request=None, context=None):
response = aiohttp_jinja2.render_template(name, request, context)
response.headers['Content-Type'] = 'text/html'
return response
response.headers["Content-Type"] = "text/html"
return response
@web.middleware
async def request_middleware(self, request: web.Request, handler):
time_start = time.time()