patch-rss-bug
This commit is contained in:
parent
70a1ed6934
commit
af7b553da3
1 changed files with 1 additions and 1 deletions
|
@ -150,6 +150,6 @@ export const generateShareUrl = (
|
||||||
|
|
||||||
export const generateRssUrl = (domain, lbryUrl) => {
|
export const generateRssUrl = (domain, lbryUrl) => {
|
||||||
const { channelName, channelClaimId } = parseURI(lbryUrl);
|
const { channelName, channelClaimId } = parseURI(lbryUrl);
|
||||||
const url = `${domain}/$/rss/@${channelName}/${channelClaimId.slice(0, 2)}`;
|
const url = `${domain}/$/rss/@${channelName}${channelClaimId ? `/${channelClaimId.slice(0, 2)}` : ''}`;
|
||||||
return url;
|
return url;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue