laravel-cors icon indicating copy to clipboard operation
laravel-cors copied to clipboard

lumen 6.2 The final result of getting the configuration is empty

Open surest-sky opened this issue 5 years ago • 5 comments

image image image image

The final result is empty

image

surest-sky avatar Dec 31 '19 02:12 surest-sky

Caused me to add configuration is invalid

surest-sky avatar Dec 31 '19 02:12 surest-sky

Similar to https://github.com/fruitcake/laravel-cors/pull/398 ?

barryvdh avatar Dec 31 '19 07:12 barryvdh

Can you try with the latest version? Does the config make it to the CorsService? Or are they also just defaults?

barryvdh avatar Jan 01 '20 09:01 barryvdh

Hey, I have same problem in Lumen 6.3.3 with version 1.0.3 of lib. Configuration file loads, but it unavailable in HandleCors and CorsService.

RaGreen avatar Feb 10 '20 08:02 RaGreen

Also in 2.0.1? I don't use Lumen, so could you create PR?

barryvdh avatar Jun 07 '20 15:06 barryvdh