fix: NameError

This commit is contained in:
helloplhm-qwq 2024-06-07 15:53:50 +08:00
parent f8b0126066
commit c22aa35d30
No known key found for this signature in database
GPG Key ID: 6BE1B64B905567C7

View File

@ -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)