lundi 23 novembre 2015

Cross origin requests not support in chrome in ember app (ubuntu)

How can i allow cross origin requests in ember, i am serving back-end in sailsjs , but i getting an error:

XMLHttpRequest cannot load localhost:1337/api/v1/project. Cross origin requests are only supported for protocol schemes: data, chrome, chrome-extension, chrome-extension-resource.

how to enable it in chrome in ubuntu.




Aucun commentaire:

Enregistrer un commentaire