Use SSL urls for all artwork (no more protocol relative)
This commit is contained in:
parent
65af698a78
commit
90c59078c0
5 changed files with 11 additions and 11 deletions
|
@ -33,7 +33,7 @@ module.exports.lookupId = function(id, type) {
|
|||
name: result.trackName ? result.trackName : result.collectionName,
|
||||
streamUrl: null,
|
||||
purchaseUrl: result.collectionViewUrl,
|
||||
artwork: "/itunes/" + result.artworkUrl100.replace("100x100", "200x200").replace("http://", ""),
|
||||
artwork: "https://match.audio/itunes/" + result.artworkUrl100.replace("100x100", "200x200").replace("http://", ""),
|
||||
artist: {
|
||||
name: result.artistName
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ module.exports.search = function(data) {
|
|||
name: result.trackName ? result.trackName : result.collectionName,
|
||||
streamUrl: null,
|
||||
purchaseUrl: result.collectionViewUrl,
|
||||
artwork: "/itunes/" + result.artworkUrl100.replace("100x100", "200x200").replace("http://", ""),
|
||||
artwork: "https://match.audio/itunes/" + result.artworkUrl100.replace("100x100", "200x200").replace("http://", ""),
|
||||
artist: {
|
||||
name: result.artistName
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue