Add endpoint logic necessary to reset server states if they get stuck installing/restoring when wings restarts
This commit is contained in:
parent
3b60004392
commit
1b2c4931ee
3 changed files with 106 additions and 0 deletions
|
@ -6,6 +6,7 @@ use Illuminate\Support\Facades\Route;
|
|||
Route::post('/sftp/auth', 'SftpAuthenticationController');
|
||||
|
||||
Route::get('/servers', 'Servers\ServerDetailsController@list');
|
||||
Route::post('/servers/reset', 'Servers\ServerDetailsController@resetState');
|
||||
|
||||
Route::group(['prefix' => '/servers/{uuid}'], function () {
|
||||
Route::get('/', 'Servers\ServerDetailsController');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue