diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 10c5522c4..5cc99014b 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -19,6 +19,7 @@ class Kernel extends HttpKernel \App\Http\Middleware\TrimStrings::class, \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, \App\Http\Middleware\TrustProxies::class, + \Illuminate\Http\Middleware\HandleCors::class, ]; /** @@ -42,7 +43,6 @@ class Kernel extends HttpKernel 'api' => [ 'bindings', - \Fruitcake\Cors\HandleCors::class, ], ];