From a7d47d8fbc5fa7493781609913f4ff6a089fb49c Mon Sep 17 00:00:00 2001 From: likexuan Date: Fri, 22 Apr 2022 19:13:14 +0800 Subject: [PATCH] NEZ-1830 fix : --- nezha-fronted/build/webpack.dev.conf.js | 2 +- nezha-fronted/build/webpack.prod.conf.js | 2 +- nezha-fronted/index.html | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/nezha-fronted/build/webpack.dev.conf.js b/nezha-fronted/build/webpack.dev.conf.js index 45b7911e6..cf74c1258 100644 --- a/nezha-fronted/build/webpack.dev.conf.js +++ b/nezha-fronted/build/webpack.dev.conf.js @@ -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 diff --git a/nezha-fronted/build/webpack.prod.conf.js b/nezha-fronted/build/webpack.prod.conf.js index 396e1f024..1066b82f9 100644 --- a/nezha-fronted/build/webpack.prod.conf.js +++ b/nezha-fronted/build/webpack.prod.conf.js @@ -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, diff --git a/nezha-fronted/index.html b/nezha-fronted/index.html index f6e379b09..835362dc2 100644 --- a/nezha-fronted/index.html +++ b/nezha-fronted/index.html @@ -5,8 +5,7 @@ - - + Network Zodiac