I have an Ionic 3 app in which I calling up wordpress api values from my website - I would like to omit CORS on my localhost Ionic server as it is telling me the following Failed to load https://www.example.com/wp-json/wp/v2/posts?categories=9&per_page=100: The 'Access-Control-Allow-Origin' header contains multiple values 'http://localhost:8100, *', but only one is allowed. Origin 'http://localhost:8100' is therefore not allowed access.
I am wondering what the best practice is with this?
Thanks.