Fix inability to create a server

This commit is contained in:
Dane Everitt 2017-11-05 15:36:37 -06:00
parent 5170bcf41a
commit 88562b5cd6
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 102 additions and 50 deletions

View file

@ -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');
});

View file

@ -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');