From 1da6ddaab5afbb97bc59cb154689385b97c57079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=93=E6=BE=84qwq?= Date: Sun, 21 Apr 2024 20:12:40 +0800 Subject: [PATCH] fix: init failed --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 793da44..6122651 100644 --- a/main.py +++ b/main.py @@ -210,7 +210,7 @@ async def handle_local(request): } app = aiohttp.web.Application(middlewares=[handle_before_request]) -utils.setGlobal(app) +utils.setGlobal(app, "app") # mainpage app.router.add_get('/', main)