spatie / laravel-cors

Send CORS headers in a Laravel application
https://spatie.be/en/opensource/laravel
MIT License
603 stars 59 forks source link

exposeHeaders Error #23

Closed matdehaast closed 6 years ago

matdehaast commented 6 years ago

Since adding the expose headers option the library does not update the config file and fails if the config does not have the expose_headers array in the config file.

Probably needs better documentation or a way to handle it for previous installations that have upgrade.