mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Added API middleware to API routes to enable throttling
TODO: Figure out how to make this costumizable without touching the code
This commit is contained in:
parent
23fa5d0bf4
commit
f47b960566
|
@ -14,7 +14,7 @@ use Illuminate\Http\Request;
|
|||
*/
|
||||
|
||||
|
||||
Route::group(['prefix' => 'v1','namespace' => 'Api'], function () {
|
||||
Route::group(['prefix' => 'v1','namespace' => 'Api', 'middleware' => 'api'], function () {
|
||||
|
||||
Route::group(['prefix' => 'account'], function () {
|
||||
Route::get('requestable/hardware',
|
||||
|
|
Loading…
Reference in a new issue