diff --git a/static/index-web.html b/static/index-web.html index f34303615..248dcd0e6 100644 --- a/static/index-web.html +++ b/static/index-web.html @@ -5,7 +5,6 @@ - diff --git a/web/src/html.js b/web/src/html.js index ed764b9f1..8463180a2 100644 --- a/web/src/html.js +++ b/web/src/html.js @@ -8,6 +8,7 @@ const { OG_IMAGE_URL, SITE_DESCRIPTION, SITE_NAME, + FAVICON, } = require('../../config.js'); const { generateEmbedUrl, generateStreamUrl, generateDirectUrl } = require('../../ui/util/web'); const PAGES = require('../../ui/constants/pages'); @@ -82,20 +83,31 @@ function buildOgMetadata(overrideOptions = {}) { function conditionallyAddPWA() { let head = ''; if (DOMAIN === 'odysee.com') { - head += ''; + head += ''; head += ''; head += ''; } return head; } +function addFavicon() { + let head = ''; + head += ``; + return head; +} + function buildHead() { - const head = '' + conditionallyAddPWA() + buildOgMetadata() + ''; + const head = + '' + + addFavicon() + + conditionallyAddPWA() + + buildOgMetadata() + + ''; return head; } function buildBasicOgMetadata() { - const head = '' + buildOgMetadata() + ''; + const head = '' + addFavicon() + buildOgMetadata() + ''; return head; } @@ -128,6 +140,7 @@ function buildClaimOgMetadata(uri, claim, overrideOptions = {}) { let head = ''; + head += `${addFavicon()}`; head += ''; head += `