Do not use custom domain in discover results
This commit is contained in:
parent
be04197948
commit
e668faf411
|
@ -31,7 +31,7 @@ function parseDiscoverResults(json, opts) {
|
|||
featuredTrack: ''
|
||||
};
|
||||
if (item.url_hints) {
|
||||
album.artist.url = item.url_hints.custom_domain || 'https://' + item.url_hints.subdomain + '.bandcamp.com';
|
||||
album.artist.url = 'https://' + item.url_hints.subdomain + '.bandcamp.com';
|
||||
}
|
||||
if (album.artist.url) {
|
||||
album.url = album.artist.url + '/album/' + item.url_hints.slug;
|
||||
|
|
Loading…
Reference in New Issue
Block a user