feat: 不显示error

This commit is contained in:
WLT\Eric.hu
2025-04-15 14:09:30 +08:00
parent c713c2bc0c
commit ea154dbb77

View File

@@ -125,6 +125,9 @@ const config = {
},
// 允许特定域名访问
allowedHosts: ["nomadyt.com", "localhost", ".nomadyt.com"], // 允许所有 *.nomadyt.com 子域访问
client: {
overlay: false,
},
},
htmlPluginOption: {
favicon: path.resolve(__dirname, "..", "src", "images", "touxiang.png"), // 同样处理 favicon 路径