Aug 17, 2023
0
Level 63
Upgrading from Laravel 9 to 10 => CORS problem
I had a CORS problem after upgrading from Laravel 9 to 10.
The modification to do in the code is not specified in the upgrade guide.
Here is what to do.
You have to replace \Fruitcake\Cors\HandleCors::class, with \Illuminate\Http\Middleware\HandleCors::class, in the Kernel.php file.
Please or to participate in this conversation.