fruitcake / laravel-cors

Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application
MIT License
6.27k stars 613 forks source link

Allow cors from any origin on certain path irrespective of allowed_origins #523

Open sudeeshr opened 3 years ago

sudeeshr commented 3 years ago

Version 2.0 Laravel 7

I want to enable cors on certain path (eg: api/payment/response) irrespective of what is configured in allowed_origins. The given path should be accessible from any origin.

How can I achieve this?

shanpee commented 2 years ago

+1