'修改ico图标'

This commit is contained in:
eric
2025-12-04 12:51:47 +08:00
parent 1563f4c5a7
commit 529f570af4
2 changed files with 3 additions and 4 deletions

View File

@@ -128,7 +128,7 @@ const config = {
allowedHosts: ["nomadro.com", "localhost", ".nomadro.com","hackrobot.cn",".hackrobot.cn"], // 允许所有 *.nomadyt.com 子域访问
},
htmlPluginOption: {
favicon: path.resolve(__dirname, "..", "src", "images", "planet.ico"), // 同样处理 favicon 路径
favicon: path.resolve(__dirname, "..", "src", "images", "avatar.jpg"), // 同样处理 favicon 路径
meta: {
"cache-control": "no-cache, no-store, must-revalidate",
pragma: "no-cache",