mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Add support for changing the server default allocation as a normal user
This commit is contained in:
@@ -18,9 +18,11 @@ Route::get('/console', 'ConsoleController@console')->name('server.console');
|
||||
|
|
||||
*/
|
||||
Route::group(['prefix' => 'settings'], function () {
|
||||
Route::get('/allocation', 'Settings\AllocationController@index')->name('server.settings.allocation');
|
||||
Route::patch('/allocation', 'Settings\AllocationController@update');
|
||||
|
||||
Route::get('/sftp', 'ServerController@getSFTP')->name('server.settings.sftp');
|
||||
Route::get('/startup', 'ServerController@getStartup')->name('server.settings.startup');
|
||||
Route::get('/allocation', 'ServerController@getAllocation')->name('server.settings.allocation');
|
||||
|
||||
Route::post('/sftp', 'ServerController@postSettingsSFTP');
|
||||
Route::post('/startup', 'ServerController@postSettingsStartup');
|
||||
|
||||
Reference in New Issue
Block a user