update counters when downloads initiate from search page

This commit is contained in:
huangjx
2022-04-26 17:49:24 +08:00
parent c82594d99e
commit c42be35566
5 changed files with 27 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ return [
'routes' => [
['name' => 'Main#Index', 'url' => '/', 'verb' => 'GET'],
['name' => 'Main#Upload', 'url' => '/upload', 'verb' => 'POST'],
['name' => 'Main#getCounters', 'url' => '/counters', 'verb' => 'GET'],
['name' => 'main#Download', 'url' => '/new', 'verb' => 'POST'],
['name' => 'Aria2#Action', 'url' => '/aria2/{path}', 'verb' => 'POST'],
['name' => 'Aria2#getStatus', 'url' => '/status/{path}', 'verb' => 'POST'],