Add endpoint to pull a remote file down

This commit is contained in:
Dane Everitt 2020-12-24 09:15:03 -08:00
parent 5d03c0d2e5
commit 087c41d5ac
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 68 additions and 13 deletions

View file

@ -66,6 +66,7 @@ Route::group(['prefix' => '/servers/{server}', 'middleware' => [AuthenticateServ
Route::post('/delete', 'Servers\FileController@delete');
Route::post('/create-folder', 'Servers\FileController@create');
Route::post('/chmod', 'Servers\FileController@chmod');
Route::post('/pull', 'Servers\FileController@pull');
Route::get('/upload', 'Servers\FileUploadController');
});