I called an external JSON file and it worked as expected, but when I downloaded the file and called it locally, it didn't work. I guess it has something to do with application/json mime type not set in case of the local file. How can I set the mime type?
$.getJSON(url, function(data) { //works
$.getJSON(local, function(data) { //doesn't