fix(v2): fix website PWA icon hrefs (#5167)

This commit is contained in:
Sébastien Lorber 2021-07-14 16:42:12 +02:00 committed by GitHub
parent 677e53d4db
commit 38c6cb5faa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,7 +196,7 @@ const isVersioningDisabled = !!process.env.DISABLE_VERSIONING || isI18nStaging;
{ {
tagName: 'link', tagName: 'link',
rel: 'icon', rel: 'icon',
href: 'img/docusaurus.png', href: `${baseUrl}img/docusaurus.png`,
}, },
{ {
tagName: 'link', tagName: 'link',
@ -221,18 +221,18 @@ const isVersioningDisabled = !!process.env.DISABLE_VERSIONING || isI18nStaging;
{ {
tagName: 'link', tagName: 'link',
rel: 'apple-touch-icon', rel: 'apple-touch-icon',
href: 'img/docusaurus.png', href: `${baseUrl}img/docusaurus.png`,
}, },
{ {
tagName: 'link', tagName: 'link',
rel: 'mask-icon', rel: 'mask-icon',
href: 'img/docusaurus.svg', href: `${baseUrl}img/docusaurus.png`,
color: 'rgb(62, 204, 94)', color: 'rgb(62, 204, 94)',
}, },
{ {
tagName: 'meta', tagName: 'meta',
name: 'msapplication-TileImage', name: 'msapplication-TileImage',
content: 'img/docusaurus.png', href: `${baseUrl}img/docusaurus.png`,
}, },
{ {
tagName: 'meta', tagName: 'meta',