NEZ-1830 fix :

This commit is contained in:
likexuan
2022-04-22 19:13:14 +08:00
parent 4674054048
commit a7d47d8fbc
3 changed files with 3 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
new webpack.NoEmitOnErrorsPlugin(),
// https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
favicon: './static/favicon.ico',
favicon: 'src/assets/img/favicon.ico',
filename: 'index.html',
template: 'index.html',
inject: true

View File

@@ -91,7 +91,7 @@ const webpackConfig = merge(baseWebpackConfig, {
// you can customize output by editing /index.html
// see https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
favicon: './static/favicon.ico',
favicon: 'src/assets/img/favicon.ico',
filename: config.build.index,
template: 'index.html',
hash: false,

View File

@@ -5,8 +5,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="data:;base64,=">
<link href="./static/favicon.ico" rel="icon" type="image/x-icon"/>
<link href="./favicon.ico" rel="icon" type="image/x-icon"/>
<title>Network Zodiac</title>
<style>