diff --git a/config/index.js b/config/index.js index bd89600..ab0ddd3 100644 --- a/config/index.js +++ b/config/index.js @@ -1,5 +1,6 @@ import path from "path"; // const { GenerateSW } = require("workbox-webpack-plugin"); +import favicon from './images/planet.ico'; const WebpackObfuscator = require("webpack-obfuscator"); const config = { @@ -127,7 +128,7 @@ const config = { allowedHosts: ["nomadro.com", "localhost", ".nomadro.com","hackrobot.cn",".hackrobot.cn"], // 允许所有 *.nomadyt.com 子域访问 }, htmlPluginOption: { - favicon: path.resolve(__dirname, "..", "src", "images", "dgnomad.png"), // 同样处理 favicon 路径 + favicon: path.resolve(__dirname, "..", "src", "images", "planet.ico"), // 同样处理 favicon 路径 meta: { "cache-control": "no-cache, no-store, must-revalidate", pragma: "no-cache", diff --git a/src/images/planet.ico b/src/images/planet.ico new file mode 100644 index 0000000..4e12f6c Binary files /dev/null and b/src/images/planet.ico differ diff --git a/src/index.html b/src/index.html index 8a199fa..e274f88 100644 --- a/src/index.html +++ b/src/index.html @@ -1,34 +1,35 @@ - - - - - - - - - - - - - 异度世界 - - - - - - - - - - -
- + + + + + + + + + + + + 异度星球 + + + + + + + + + + +
+