fruitcake / laravel-cors

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

Improves the README about allowed_origins and ports #526

Closed joemugen closed 3 years ago

joemugen commented 3 years ago

I had issues finding why my front-end app was not working because of CORS policy even if I added the correct origin. It's not current obvious with the current README.

This commit adds example and a note with these use cases and could help saving time :) Please review my english since it's not my native language, the wording may not be the clearest.