'ss'
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user