Skip to content

Commit 87e9d5e

Browse files
committed
Throttle pulls
1 parent 70afc51 commit 87e9d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/api-client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
Route::post('/delete', 'Servers\FileController@delete');
6767
Route::post('/create-folder', 'Servers\FileController@create');
6868
Route::post('/chmod', 'Servers\FileController@chmod');
69-
Route::post('/pull', 'Servers\FileController@pull');
69+
Route::post('/pull', 'Servers\FileController@pull')->middleware(['throttle:10,5']);
7070
Route::get('/upload', 'Servers\FileUploadController');
7171
});
7272

0 commit comments

Comments
 (0)