mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Add new daemon routes for pack handling
This commit is contained in:
@@ -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',
|
||||
]);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user