Add endpoint to return startup variables; send back modified startup when a variable is edited
This commit is contained in:
parent
d58fd72bf5
commit
179885b546
3 changed files with 54 additions and 1 deletions
|
@ -103,6 +103,7 @@ Route::group(['prefix' => '/servers/{server}', 'middleware' => [AuthenticateServ
|
|||
});
|
||||
|
||||
Route::group(['prefix' => '/startup'], function () {
|
||||
Route::get('/', 'Servers\StartupController@index');
|
||||
Route::put('/variable', 'Servers\StartupController@update');
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue