This commit is contained in:
eric
2025-09-06 16:12:16 +08:00
parent 43088c62f7
commit 43b923876c
25 changed files with 1687 additions and 2412 deletions

View File

@@ -124,13 +124,10 @@ const config = {
},
},
// 允许特定域名访问
allowedHosts: ["nomadyt.com", "localhost", ".nomadyt.com"], // 允许所有 *.nomadyt.com 子域访问
client: {
overlay: false,
},
allowedHosts: ["nomadro.com", "localhost", ".nomadro.com","hackrobot.cn",".hackrobot.cn"], // 允许所有 *.nomadyt.com 子域访问
},
htmlPluginOption: {
favicon: path.resolve(__dirname, "..", "src", "images", "youtube.ico"), // 同样处理 favicon 路径
favicon: path.resolve(__dirname, "..", "src", "images", "dgnomad.png"), // 同样处理 favicon 路径
meta: {
"cache-control": "no-cache, no-store, must-revalidate",
pragma: "no-cache",

View File

@@ -3,7 +3,7 @@ module.exports = {
NODE_ENV: '"production"'
},
defineConstants: {
'process.env.TARO_API_API': JSON.stringify("https://web.hackrobot.cn")
'process.env.TARO_API_API': JSON.stringify("https://api.hackrobot.cn")
},
mini: {},
h5: {