patch-rss-bug

This commit is contained in:
zeppi 2021-07-09 16:52:12 -04:00
parent 0101a5d59f
commit dae60c4ff1

View file

@ -150,6 +150,6 @@ export const generateShareUrl = (
export const generateRssUrl = (domain, 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;
};