Fix up SFTP endpoint

This commit is contained in:
Dane Everitt
2019-12-07 16:14:04 -08:00
parent 2570b4e2d0
commit 24f340c9a1
2 changed files with 10 additions and 7 deletions

View File

@@ -9,10 +9,8 @@ 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');
});
// Routes for the Wings daemon.
Route::post('/sftp/auth', 'SftpAuthenticationController');
Route::group(['prefix' => '/servers/{uuid}'], function () {
Route::get('/configuration', 'Servers\ServerConfigurationController');
});