From cec1e288f9719b85b1114ea15bdd63c9fd5eda50 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 8 Jul 2020 16:15:55 -0400 Subject: [PATCH] fix typo --- web/src/html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/html.js b/web/src/html.js index 2fb25d0aa..535fca460 100644 --- a/web/src/html.js +++ b/web/src/html.js @@ -168,7 +168,7 @@ async function getHtml(ctx) { const embedPath = `/$/${PAGES.EMBED}/`; if (requestPath.includes(invitePath)) { - const inviteChannel = path.slice(invitePath.length).replace(/:/g, '#'); + const inviteChannel = requestPath.slice(invitePath.length).replace(/:/g, '#'); const inviteChannelUrl = `lbry://${inviteChannel}`; try {