mirror of
https://github.com/MeoProject/lx-music-api-server.git
synced 2025-05-23 19:17:41 +08:00
fix: NameError
This commit is contained in:
parent
f8b0126066
commit
c22aa35d30
2
main.py
2
main.py
@ -225,7 +225,7 @@ if (config.read_config('common.allow_download_script')):
|
||||
app.router.add_get('/script', lx_script.generate_script_response)
|
||||
|
||||
if (config.read_config('module.gcsp.enable')):
|
||||
app.router.add_route('*', config.read_config('module.gcsp.path'), gcsp.handle_gcsp)
|
||||
app.router.add_route('*', config.read_config('module.gcsp.path'), gcsp.handle_request)
|
||||
|
||||
# 404
|
||||
app.router.add_route('*', '/{tail:.*}', handle_404)
|
||||
|
Loading…
x
Reference in New Issue
Block a user