nelmio / NelmioCorsBundle

Adds CORS (Cross-Origin Resource Sharing) headers support in your Symfony application
https://symfony.com/bundles/NelmioCorsBundle/
MIT License
1.89k stars 108 forks source link

Corns from enviroment prod not working #130

Closed sirjcbg1 closed 1 year ago

sirjcbg1 commented 5 years ago

Access to XMLHttpRequest at 'http://pwsbackend/app.php/jornada/jornadas' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Hi, when I try with app.dev not working, but in dev.php is fine