This commit is contained in:
eric
2025-12-18 01:54:18 -06:00
parent dcd31ad5b4
commit 956e108268
4 changed files with 21777 additions and 53 deletions

View File

@@ -125,7 +125,7 @@ const config = {
},
},
// 允许特定域名访问
allowedHosts: ["nomadro.com", "localhost", ".nomadro.com","hackrobot.cn",".hackrobot.cn"], // 允许所有 *.nomadyt.com 子域访问
allowedHosts: ["nomadro.com", "localhost", ".nomadro.com","hackrobot.cn",".hackrobot.cn",".ngrok-free.app"], // 允许所有 *.nomadyt.com 子域访问
},
htmlPluginOption: {
favicon: path.resolve(__dirname, "..", "src", "images", "avatar.jpg"), // 同样处理 favicon 路径