From 0b7e4a8bb045ffc539e60b2acb2723aabeb7ec0a Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Mon, 7 Oct 2019 08:48:14 -0400 Subject: [PATCH] fix metadata on homepage --- src/platforms/web/server.js | 6 +++--- static/index-web.html | 10 +++++++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/platforms/web/server.js b/src/platforms/web/server.js index 6c8b09870..3e6fabe89 100644 --- a/src/platforms/web/server.js +++ b/src/platforms/web/server.js @@ -54,14 +54,14 @@ function truncateDescription(description) { } function insertToHead(fullHtml, htmlToInsert) { - return fullHtml.replace('', htmlToInsert); + return fullHtml.replace(/.*/s, htmlToInsert); } const defaultHead = 'lbry.tv\n' + `\n` + - '\n' + - '\n' + + '\n' + + '\n' + '\n' + `\n` + ''; diff --git a/static/index-web.html b/static/index-web.html index 4173ea44f..e36691261 100644 --- a/static/index-web.html +++ b/static/index-web.html @@ -2,7 +2,15 @@ - + + lbry.tv + + + + + + +