Switch file manager listing to use panel API endpoint
This commit is contained in:
parent
e87c5f6657
commit
c80c8564b8
8 changed files with 156 additions and 8 deletions
|
@ -42,6 +42,8 @@ Route::group(['prefix' => '/servers/{server}', 'middleware' => [AuthenticateServ
|
|||
});
|
||||
|
||||
Route::group(['prefix' => '/files'], function () {
|
||||
Route::get('/list', 'Servers\FileController@listDirectory')->name('api.client.servers.files.list');
|
||||
|
||||
Route::post('/download/{file}', 'Servers\FileController@download')
|
||||
->where('file', '.*')
|
||||
->name('api.client.servers.files.download');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue