Cross origin requests issue in ember


#1

i am using ember with sail for api, i getting an error “Cross origin requests”

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

how to handle it?

http://stackoverflow.com/questions/33886348/cross-origin-requests-not-support-in-chrome-in-ember-app-ubuntu