Add new daemon routes for pack handling
This commit is contained in:
parent
95d0c646f9
commit
e6d3e75024
2 changed files with 105 additions and 0 deletions
|
@ -40,6 +40,15 @@ class DaemonRoutes
|
|||
'as' => 'remote.install',
|
||||
'uses' => 'Daemon\ServiceController@pull',
|
||||
]);
|
||||
|
||||
$router->get('packs/pull/{uuid}', [
|
||||
'as' => 'daemon.pack.pull',
|
||||
'uses' => 'Daemon\PackController@pull',
|
||||
]);
|
||||
$router->get('packs/pull/{uuid}/hash', [
|
||||
'as' => 'daemon.pack.hash',
|
||||
'uses' => 'Daemon\PackController@hash',
|
||||
]);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue