how to set Cors in Laravel lumen

  cors, laravel, lumen

I’m not sure that I’m setting the core filter correct in the

Route::group([‘middleware’=> ‘cors’,’middleware’ => ‘tenant’], function() {

}
because I get Failed to load resource: Access-Control-Allow-Origin cannot contain more than one origin.

Source: Laravel

Leave a Reply