mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Fix inability to create a server
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user