diff --git a/htdocs/site/js/github.js b/htdocs/site/js/github.js index 4ba9eda48..94b678eda 100644 --- a/htdocs/site/js/github.js +++ b/htdocs/site/js/github.js @@ -4,14 +4,14 @@ jQuery.fn.listCommits = function(username, repository, branch) { this.html('Querying GitHub for recent commits…'); var target = this; - $.getJSON('http://github.com/api/v2/json/commits/list/' + username + '/' + repository + '/' + branch + '?callback=?', function(data) { - var repos = data.commits; + $.getJSON('https://api.github.com/repos/' + username + '/' + repository + '/commits?sha=' + branch + '&callback=?', function(response) { + var commits = response.data; var list = $('