mirror of
https://github.com/MeoProject/lx-music-api-server.git
synced 2025-07-07 06:52:11 +08:00
fix: init failed
This commit is contained in:
2
main.py
2
main.py
@ -210,7 +210,7 @@ async def handle_local(request):
|
|||||||
}
|
}
|
||||||
|
|
||||||
app = aiohttp.web.Application(middlewares=[handle_before_request])
|
app = aiohttp.web.Application(middlewares=[handle_before_request])
|
||||||
utils.setGlobal(app)
|
utils.setGlobal(app, "app")
|
||||||
|
|
||||||
# mainpage
|
# mainpage
|
||||||
app.router.add_get('/', main)
|
app.router.add_get('/', main)
|
||||||
|
Reference in New Issue
Block a user