Make Xbox Music images use ssl

This commit is contained in:
Jonathan Cremin 2014-12-21 12:42:42 +00:00
parent de31391f90
commit 6f3e8b06a6

View file

@ -43,8 +43,8 @@ var formatResponse = function(res) {
streamUrl: result.Link,
purchaseUrl: null,
artwork: {
small: result.ImageUrl + "?w=250",
large: result.ImageUrl + "?w=500"
small: result.ImageUrl.replace("http://", "https://") + "?w=250",
large: result.ImageUrl.replace("http://", "https://") + "?w=500"
},
artist: {
name: result.Artists[0].Artist.Name