I\'m getting an error
XMLHttpRequest cannot load https://my-api.domain.com. Origin file:// is not allowed by Access-Control-Allow-Origin.
when I try to run s
You can pass options to phantomjs similarly to how you would on the command line, e.g.
The following options may help, but more can be found at the phantomjs docs
jasmine : {
your_task : {
options : {
'--web-security' : false,
'--local-to-remote-url-access' : true,
'--ignore-ssl-errors' : true
}
}
}