Skip to content
This repository was archived by the owner on Jan 16, 2022. It is now read-only.

Commit 0e7c3ed

Browse files
committed
fix: revert custom favicon (#463)
This reverts commit 4713dea to unblock deployments
1 parent 4713dea commit 0e7c3ed

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/template/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>
77
<%= htmlWebpackPlugin.options.title %>
88
</title>
9-
<link rel="icon" type="image/png" href="<%= htmlWebpackPlugin.options.verdaccioURL %>/-/mapped/favicon" />
9+
<link rel="icon" type="image/png" href="<%= htmlWebpackPlugin.options.verdaccioURL %>/-/static/favicon.ico" />
1010
<meta name="viewport" content="width=device-width, initial-scale=1" />
1111
<script>
1212
window.__VERDACCIO_BASENAME_UI_OPTIONS = JSON.parse('<%= htmlWebpackPlugin.options.__UI_OPTIONS %>');

tools/webpack.prod.config.babel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const prodConf = {
4949
logo: 'ToReplaceByLogo',
5050
primary_color: 'ToReplaceByPrimaryColor',
5151
filename: 'index.html',
52+
favicon: `${env.SRC_ROOT}/template/favicon.ico`,
5253
verdaccioURL: 'ToReplaceByVerdaccio',
5354
version_app: 'ToReplaceByVersion',
5455
template: `${env.SRC_ROOT}/template/index.html`,

0 commit comments

Comments
 (0)