moved to https connection to the omdbapi

This commit is contained in:
Walker Waylon Scott 2017-07-25 08:37:03 -05:00
parent a66fb820cb
commit d294af0fd2

View file

@ -280,7 +280,7 @@ function update_top_movies(start_year, end_year)
tm = JSON.parse(top_movies.responseJSON)
h = ''
for (title in tm['gross']) {
var info = $.get('http://www.omdbapi.com/?t=' + title + '&apikey=90424a9e')
var info = $.get('https://www.omdbapi.com/?t=' + title + '&apikey=90424a9e')
promises.push(info)
}
$.when.apply(null, promises).done(function(){