patch-rss-bug
This commit is contained in:
parent
0101a5d59f
commit
dae60c4ff1
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