diff options
author | Marvin Borner | 2018-07-09 20:01:35 +0200 |
---|---|---|
committer | Marvin Borner | 2018-07-09 20:01:35 +0200 |
commit | b9ce852cd3d5531053c0e22d9ff1c6b31d7d791e (patch) | |
tree | e42efc48802e34702ad5e7923f383c4e303aebad /app/Providers | |
parent | 75adb031897ab2a2b66051e1acb186bfdff6a4a4 (diff) |
Throtteling for API
Diffstat (limited to 'app/Providers')
-rw-r--r-- | app/Providers/RouteServiceProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
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')); } |