Skip to content

Commit

Permalink
fix: NameError
Browse files Browse the repository at this point in the history
  • Loading branch information
helloplhm-qwq committed Jun 7, 2024
1 parent f8b0126 commit c22aa35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ async def handle_local(request):
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)
Expand Down

0 comments on commit c22aa35

Please sign in to comment.