0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

fix: favicon refers to .png while only .ico exists #681

Add verdaccio icon 💯
This commit is contained in:
Juan Picado @jotadeveloper 2018-05-25 07:42:18 +02:00
parent 58562ee6c7
commit 11e6f9f4ec
No known key found for this signature in database
GPG key ID: 18AC54485952D158
4 changed files with 2 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title><%= htmlWebpackPlugin.options.title %></title>
<link rel="icon" type="image/png" href="<%= htmlWebpackPlugin.options.verdaccioURL %>/-/static/favicon.png"/>
<link rel="icon" type="image/png" href="<%= htmlWebpackPlugin.options.verdaccioURL %>/-/static/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script>
window.VERDACCIO_API_URL = '<%= htmlWebpackPlugin.options.verdaccioURL %>/-/verdaccio/';

BIN
static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -31,6 +31,7 @@ const prodConf = {
new HTMLWebpackPlugin({
title: 'ToReplaceByTitle',
filename: 'index.html',
favicon: `${env.SRC_ROOT}/webui/template/favicon.ico`,
verdaccioURL: 'ToReplaceByVerdaccio',
template: `${env.SRC_ROOT}/webui/template/index.html`,
debug: false,