Fix inability to create a server
This commit is contained in:
parent
5170bcf41a
commit
88562b5cd6
8 changed files with 102 additions and 50 deletions
|
@ -13,6 +13,10 @@ Route::group(['prefix' => '/eggs'], function () {
|
|||
Route::get('/{uuid}', 'EggRetrievalController@download')->name('api.remote.eggs.download');
|
||||
});
|
||||
|
||||
Route::group(['prefix' => '/scripts'], function () {
|
||||
Route::get('/{uuid}', 'EggInstallController@index')->name('api.remote.scripts');
|
||||
});
|
||||
|
||||
Route::group(['prefix' => '/sftp'], function () {
|
||||
Route::post('/', 'SftpController@index')->name('api.remote.sftp');
|
||||
});
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
*/
|
||||
Route::get('/packs/pull/{uuid}', 'PackController@pull')->name('daemon.pack.pull');
|
||||
Route::get('/packs/pull/{uuid}/hash', 'PackController@hash')->name('daemon.pack.hash');
|
||||
Route::get('/details/option/{server}', 'OptionController@details')->name('daemon.option.details');
|
||||
Route::get('/configure/{token}', 'ActionController@configuration')->name('daemon.configuration');
|
||||
|
||||
Route::post('/download', 'ActionController@authenticateDownload')->name('daemon.download');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue