diff --git a/static/img/favicon.png b/static/img/favicon.png index 20e725d6e..4570d2248 100644 Binary files a/static/img/favicon.png and b/static/img/favicon.png differ diff --git a/static/img/lbry-favicon.png b/static/img/lbry-favicon.png deleted file mode 100644 index 4570d2248..000000000 Binary files a/static/img/lbry-favicon.png and /dev/null differ 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/ui/util/query-params.js b/ui/util/query-params.js index af13a036e..bf4fa6bcc 100644 --- a/ui/util/query-params.js +++ b/ui/util/query-params.js @@ -38,13 +38,9 @@ export const getSearchQueryString = (query: string, options: any = {}) => { const encodedQuery = encodeURIComponent(query); const queryParams = [ options.exact && !isSurroundedByQuotes(encodedQuery) ? `s="${encodedQuery}"` : `s=${encodedQuery}`, - `free_only=true`, `size=${options.size || DEFAULT_SEARCH_SIZE}`, `from=${options.from || DEFAULT_SEARCH_RESULT_FROM}`, - // `mediaType=${SEARCH_OPTIONS.MEDIA_VIDEO}`, - // `claimType=${SEARCH_OPTIONS.INCLUDE_FILES}`, ]; - const { isBackgroundSearch } = options; const includeUserOptions = typeof isBackgroundSearch === 'undefined' ? false : !isBackgroundSearch; 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 += `