Hi, I tried to access the api on my server, but when I debug it through the browser or run it through ionic view, the error appears like this:
XMLHttpRequest cannot load http:/apiserver/api/. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost’ is therefore not allowed access.
I tried, but if in the chrome succeed , it is only used in development. do you know ionic view? Ionic android apps that let us deploy our ionic to the client app without installing the apk over and over again. Well by using that ionic view, my app still can’t access the api in the server