From b9ce852cd3d5531053c0e22d9ff1c6b31d7d791e Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 9 Jul 2018 20:01:35 +0200 Subject: Throtteling for API --- app/Providers/RouteServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Providers') diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 49f44ff..e91ab48 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -70,7 +70,7 @@ class RouteServiceProvider extends ServiceProvider protected function mapApiRoutes() { Route::prefix('api') - //->middleware('api') + ->middleware('api') ->namespace($this->namespace) ->group(base_path('routes/api.php')); } -- cgit v1.2.3