diff --git a/routes/api-client.php b/routes/api-client.php index 62cad21c1..a00938f55 100644 --- a/routes/api-client.php +++ b/routes/api-client.php @@ -66,7 +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::post('/pull', 'Servers\FileController@pull')->middleware(['throttle:10,5']); Route::get('/upload', 'Servers\FileUploadController'); });