Use config instead of middleware property

This commit is contained in:
Barry vd. Heuvel
2019-12-26 19:46:41 +01:00
parent 777baff7d5
commit 860ec9f2a4
3 changed files with 68 additions and 9 deletions

View File

@@ -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 = [];
}