Skip to content

Commit

Permalink
fix(icon): update warning url to docs (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludo237 authored Aug 17, 2020
1 parent dc2a12a commit 61633fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/meta/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function generateMeta (pwa) {

const favicon = join(this.options.srcDir, this.options.dir.static, 'favicon.ico')
if (options.favicon && !find(this.options.head.link, 'rel', 'shortcut icon') && existsSync(favicon)) {
console.warn('You are using a low quality icon, use icon png. See https://pwa.nuxtjs.org/modules/icon.html')
console.warn('You are using a low quality icon, use icon png. See https://pwa.nuxtjs.org/icon/')

this.options.head.link.push({ rel: 'shortcut icon', href: 'favicon.ico' })
}
Expand Down

0 comments on commit 61633fa

Please sign in to comment.