diff --git a/config/index.js b/config/index.js index 7c95bd9..69cbaa5 100644 --- a/config/index.js +++ b/config/index.js @@ -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 路径