From dae60c4ff122cc8ecc0c52decc2a548c53370b13 Mon Sep 17 00:00:00 2001 From: zeppi Date: Fri, 9 Jul 2021 16:52:12 -0400 Subject: [PATCH] patch-rss-bug --- ui/util/url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/util/url.js b/ui/util/url.js index 89646ce07..8cb51e47f 100644 --- a/ui/util/url.js +++ b/ui/util/url.js @@ -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; };