Closed shubaivan closed 1 year ago
Did you manage to resolve that problem? I'm running into the same issue.
Per the spec you can only use *
or plain names. Or you can use origin_regex true and then use regexes to let the bundle match multiple hosts and return the correct allow-origin for each.
I using FOSRestBundle with Nelmio Cors Bundle and have some endpoints, /api/name_end_points and I need for some server have authority to call this endpoints. Now I have error in console
This my config:
How to correct config NelmioCorsBundle if I want access true for some server for my endpoints ? Like this
and deleted default ?