CORS issue in ionic


hi ,

when trying to run ionic app in ionic serve, i am getting this below issue. The app is working fine in mobile devices.

I have tryied below suggestion but its not working.

XMLHttpRequest cannot load A wildcard ‘*’ cannot be used in the ‘Access-Control-Allow-Origin’ header when the credentials flag is true. Origin ‘http://xx.xx.x.xx:8100’ is therefore not allowed access. The credentials mode of an XMLHttpRequest is controlled by the withCredentials attribute.