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
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+3 -3
View File
@@ -128,9 +128,9 @@ class BaseApplication(RPCApplication):
async def render_template(self, name, request=None, context=None): async def render_template(self, name, request=None, context=None):
response = aiohttp_jinja2.render_template(name, request, context) response = aiohttp_jinja2.render_template(name, request, context)
response.headers['Content-Type'] = 'text/html' response.headers["Content-Type"] = "text/html"
return response return response
@web.middleware @web.middleware
async def request_middleware(self, request: web.Request, handler): async def request_middleware(self, request: web.Request, handler):
time_start = time.time() time_start = time.time()