Skip to content

Commit

Permalink
Adding icon purpose to nuxt config
Browse files Browse the repository at this point in the history
Closes #163
  • Loading branch information
dlutton committed Jul 28, 2020
1 parent c35eba0 commit 9d5af87
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ module.exports = {
INDEX_USER: process.env.INDEX_USER,
INDEX_STATS: process.env.INDEX_STATS
},
// Doc: https://web.dev/maskable-icon-audit/?utm_source=lighthouse&utm_medium=devtools
icon: {
purpose: ['maskable', 'any']
},
/*
** Headers of the page
*/
Expand All @@ -21,7 +25,11 @@ module.exports = {
{ hid: 'description', name: 'description', content: pkg.description }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{
rel: 'icon',
type: 'image/x-icon',
href: '/favicon.ico'
},
{
rel: 'icon',
type: 'image/png',
Expand Down

0 comments on commit 9d5af87

Please sign in to comment.