поправил метатеги под фавиконы, но ico не тянется в prod

This commit is contained in:
Norbaev 2024-06-28 11:36:13 +05:00
parent e4d0441239
commit 08f5022929
2 changed files with 26 additions and 26 deletions

View File

@ -228,30 +228,30 @@ module.exports = configure(function (ctx) {
theme_color: '#027be3', theme_color: '#027be3',
icons: [ icons: [
{ {
src: 'icons/icon-128x128.png', src: 'icons/favicon-16x16.svg',
sizes: '128x128', sizes: '16x16',
type: 'image/png', type: 'svg',
},
{
src: 'icons/icon-192x192.png',
sizes: '192x192',
type: 'image/png',
},
{
src: 'icons/icon-256x256.png',
sizes: '256x256',
type: 'image/png',
},
{
src: 'icons/icon-384x384.png',
sizes: '384x384',
type: 'image/png',
},
{
src: 'icons/icon-512x512.png',
sizes: '512x512',
type: 'image/png',
}, },
// {
// src: 'icons/icon-192x192.png',
// sizes: '192x192',
// type: 'image/png',
// },
// {
// src: 'icons/icon-256x256.png',
// sizes: '256x256',
// type: 'image/png',
// },
// {
// src: 'icons/icon-384x384.png',
// sizes: '384x384',
// type: 'image/png',
// },
// {
// src: 'icons/icon-512x512.png',
// sizes: '512x512',
// type: 'image/png',
// },
], ],
}, },
}, },

View File

@ -9,12 +9,12 @@
content="user-scalable=yes, initial-scale=1, maximum-scale=5, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>" content="user-scalable=yes, initial-scale=1, maximum-scale=5, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>"
/> />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" /> <link rel="icon" type="image/ico" href="favicon.ico" />
<link <link
rel="icon" rel="icon"
type="image/svg+xml" type="image/svg"
sizes="16x16" sizes="16x16"
href="/favicon-16x16.png" href="icons/favicon-16x16.svg"
/> />
<link rel="manifest" href="/site.webmanifest" /> <link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" /> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />