chore: 标记app对象为全局对象

This commit is contained in:
梓澄qwq 2024-04-21 20:07:21 +08:00 committed by GitHub
parent f1640760af
commit 5d687e6573
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -210,6 +210,8 @@ async def handle_local(request):
}
app = aiohttp.web.Application(middlewares=[handle_before_request])
utils.setGlobal(app)
# mainpage
app.router.add_get('/', main)