support for changing allocation on frontend
This commit is contained in:
parent
fb77e23eb4
commit
a7fdb9618c
4 changed files with 86 additions and 3 deletions
|
@ -18,6 +18,7 @@ class ServerRoutes {
|
|||
// Ajax Routes
|
||||
$router->group(['prefix' => 'ajax'], function ($server) use ($router) {
|
||||
$router->get('status', [ 'uses' => 'Server\AjaxController@getStatus' ]);
|
||||
$router->post('set-connection', [ 'uses' => 'Server\AjaxController@postSetConnection' ]);
|
||||
$router->post('files/directory-list', [ 'uses' => 'Server\AjaxController@postDirectoryList' ]);
|
||||
$router->post('files/save', [ 'uses' => 'Server\AjaxController@postSaveFile' ]);
|
||||
});
|
||||
|
|
Reference in a new issue