diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index acd42e5576..9ea24c11e5 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -24,6 +24,7 @@ class Kernel extends HttpKernel \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, \App\Http\Middleware\SecurityHeaders::class, \App\Http\Middleware\PreventBackHistory::class, + \Fruitcake\Cors\HandleCors::class, ]; @@ -44,7 +45,6 @@ class Kernel extends HttpKernel ], 'api' => [ - \Fruitcake\Cors\HandleCors::class, 'throttle:120,1', 'auth:api', ],