Add endpoint to return startup variables; send back modified startup when a variable is edited

This commit is contained in:
Dane Everitt 2020-08-25 19:22:17 -07:00
parent d58fd72bf5
commit 179885b546
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 54 additions and 1 deletions

View file

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