Ionic Lab XMLHttpRequest Cors


#1

Today i install Ionic Lab and import my ionic project. When project started in ionic lab i started getting error about XMLHttpRequest and CORS

2?ionicplatform=ios:1 XMLHttpRequest cannot load http://.com//get_updates. The ‘Access-Control-Allow-Origin’ header contains multiple values ‘http://0.0.0.0:8100, *, http://0.0.0.0:8100’, but only one is allowed. Origin ‘http://0.0.0.0:8100’ is therefore not allowed access.

It worked before.
Help pls!

Backend: Rails with rack-cors gem + nginx ‘Access-Control-Allow-Origin’ ‘*’


#2

Have you checked the content security policy tag in your index.html?