Multiple CORS Origins to Paths *

Hi,

It seems that it’s not possible to define 2 origins where the Paths is *. For example I have a production and development environment using the same backend. This means that I will need to give both access in the CORS.

I’m now setting it to Origin * and Paths *, but this is not desirable.

What would be a possible solution?

Thanks

In your CORS setting you can put multiple origins in one entry. They just need to be comma separated.
For example: http://localhost:8080,https://dreamfactory.com

1 Like