Use config instead of middleware property
This commit is contained in:
@@ -6,11 +6,5 @@ use Fruitcake\Cors\HandleCors as Middleware;
|
||||
|
||||
class HandleCors extends Middleware
|
||||
{
|
||||
/**
|
||||
* The paths to enable CORS on.
|
||||
* Example: ['api/*']
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $paths = [];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user