React home and share pages working isomorphically

This commit is contained in:
Jonathan Cremin 2014-12-22 22:38:08 +00:00
parent 0b00b190fc
commit a2148dc00a
21 changed files with 482 additions and 658 deletions

View file

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