Error: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
Here is the getJSON call
var fewd = {
  getJSON: function(url, success) {
    var xhr = new XMLHttpRequest();
    xhr.onreadystatechange = function() {
      if (xhr.readyState == 4 && xhr.status == 200) {
        var json = JSON.parse(xhr.response);
        success(json);
      }
    }
    xhr.open("GET", url);
    xhr.send();
  },
};
What should be added here to fix this issue. I read through all the previous bugs but cannot figure out exactly what should be added here.
 
     
    