Open loxK opened 1 year ago
Hello I switched to Lumen 9.1.6. I had composer saying that laravel-cors has to be replaced. Currently, I have in app.php :
<?php $app->configure('cors'); $app->middleware([ Fruitcake\Cors\HandleCors::class, ]); $app->register(Fruitcake\Cors\CorsServiceProvider::class);
I have replaced \Fruitcake\Cors\HandleCors::class, with \Illuminate\Http\Middleware\HandleCors::class but what about the service provider ?
\Fruitcake\Cors\HandleCors::class
\Illuminate\Http\Middleware\HandleCors::class
+1 I've same problem
Hello I switched to Lumen 9.1.6. I had composer saying that laravel-cors has to be replaced. Currently, I have in app.php :
I have replaced
\Fruitcake\Cors\HandleCors::class
, with\Illuminate\Http\Middleware\HandleCors::class
but what about the service provider ?