Request Songkick data over HTTPS, to avoid conflicts when Headphones is running over HTTPS or behind a HTTPS reverse-proxy

This commit is contained in:
gotson
2014-03-31 12:50:18 +08:00
parent 537126b3d9
commit d0ae36ac56

View File

@@ -193,7 +193,7 @@
template = '<li><a target="_blank" href="URI"><span class="sk-name">NAME</span><span class="sk-location">LOC</span></a></li>';
$.getJSON("http://api.songkick.com/api/3.0/artists/mbid:${artist['ArtistID']}/calendar.json?apikey=${headphones.SONGKICK_APIKEY}&jsoncallback=?",
$.getJSON("https://api.songkick.com/api/3.0/artists/mbid:${artist['ArtistID']}/calendar.json?apikey=${headphones.SONGKICK_APIKEY}&jsoncallback=?",
function(data){
if (data['resultsPage'].totalEntries >= 1) {