Use SSL urls for all artwork (no more protocol relative)

This commit is contained in:
Jonathan Cremin 2014-12-06 13:28:38 +00:00
parent 65af698a78
commit 90c59078c0
5 changed files with 11 additions and 11 deletions

View file

@ -37,7 +37,7 @@ module.exports.lookupId = function(id) {
name: result.title,
streamUrl: "https://listen.beatsmusic.com/albums/" + result.id,
purchaseUrl: null,
artwork: artwork.replace("http:", ""),
artwork: artwork.replace("http:", "https:"),
artist: {
name: result.artist_display_name
}
@ -56,7 +56,7 @@ module.exports.lookupId = function(id) {
name: result.title,
streamUrl: "https://listen.beatsmusic.com/albums/" + result.refs.album.id + "/tracks/" + result.id,
purchaseUrl: null,
artwork: artwork.replace("http:", ""),
artwork: artwork.replace("http:", "https:"),
artist: {
name: result.artist_display_name
},