Skip to content

Commit bac3049

Browse files
authored
fix: url prefix for favicon (#174)
1 parent 72ab7df commit bac3049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index-html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function indexHtml (opts) {
1616
? opts.theme.favicon.map(favicon => `<link rel="${favicon.rel}" type="${favicon.type}" href="${prefix}/theme/${favicon.filename}" sizes="${favicon.sizes}" />\n`).join('')
1717
: `
1818
<link rel="icon" type="image/png" href="${prefix}/favicon-32x32.png" sizes="32x32" />
19-
<link rel="icon" type="image/png" href=".${opts.prefix}/favicon-16x16.png" sizes="16x16" />
19+
<link rel="icon" type="image/png" href="${prefix}/favicon-16x16.png" sizes="16x16" />
2020
`}
2121
</head>
2222

0 commit comments

Comments
 (0)