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:
snipe 2019-05-08 09:23:54 -04:00
parent 23fa5d0bf4
commit f47b960566

View file

@ -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',