Fix deezer
This commit is contained in:
parent
309f1df46f
commit
5f07beff8e
3 changed files with 4 additions and 9 deletions
|
@ -35,7 +35,7 @@ export function* lookupId(id, type) {
|
|||
try {
|
||||
cover = yield request.get(coverUrl).redirects(0);
|
||||
} catch(err) {
|
||||
cover = err.message.response.res;
|
||||
cover = err.originalError.response;
|
||||
}
|
||||
let artwork = {
|
||||
small: cover.headers.location.replace('120x120', '200x200'),
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"babel": "~5.8.3",
|
||||
"bluebird": "~2.9.34",
|
||||
"bluebird": "~2.10.2",
|
||||
"co": "~4.6.0",
|
||||
"debug": "~2.2.0",
|
||||
"jspm": "~0.16.0",
|
||||
|
@ -38,7 +38,7 @@
|
|||
"react-google-analytics": "~0.2.0",
|
||||
"react-router": "~0.13.3",
|
||||
"spotify": "~0.3.0",
|
||||
"superagent": "~1.3.0",
|
||||
"superagent": "~1.4.0",
|
||||
"superagent-bluebird-promise": "~2.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -47,7 +47,7 @@
|
|||
"eslint-plugin-react": "~3.3.0",
|
||||
"istanbul": "^0.3.17",
|
||||
"mocha": "~2.3.0",
|
||||
"nodemon": "~1.4.1",
|
||||
"nodemon": "~1.7.1",
|
||||
"parallelshell": "~2.0.0",
|
||||
"should": "~7.1.0"
|
||||
},
|
||||
|
|
|
@ -7,9 +7,6 @@ export default React.createClass({
|
|||
|
||||
render: function() {
|
||||
return (
|
||||
<html>
|
||||
<Head {...this.props} />
|
||||
<body>
|
||||
<div className='error'>
|
||||
<div className='container main'>
|
||||
<div className='row'>
|
||||
|
@ -28,8 +25,6 @@ export default React.createClass({
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue