diff --git a/.env.production b/.env.production index 4e36659..9ffa116 100644 --- a/.env.production +++ b/.env.production @@ -1 +1,2 @@ -process.env.TARO_API_API="https://api.nomadcna.com" \ No newline at end of file +# process.env.TARO_API_API="https://api.nomadcna.com" +process.env.TARO_API_API="https://api.hackrobot.cn" diff --git a/config/index.js b/config/index.js index 7c6f3d7..bd89600 100644 --- a/config/index.js +++ b/config/index.js @@ -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", diff --git a/config/prod.js b/config/prod.js index 56b9606..d0110a3 100644 --- a/config/prod.js +++ b/config/prod.js @@ -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: { diff --git a/package.json b/package.json index 12aadf2..f076636 100644 --- a/package.json +++ b/package.json @@ -51,8 +51,7 @@ "react": "^18.0.0", "react-dom": "^18.0.0", "sr-sdk-h5": "^1.3.1", - "taro-ui": "^3.2.0", - "webpack-obfuscator": "^3.5.1" + "taro-ui": "^3.2.0" }, "devDependencies": { "@babel/core": "^7.8.0", @@ -76,6 +75,6 @@ "ts-node": "^10.9.1", "typescript": "^4.1.0", "webpack": "^5.78.0", - "workbox-webpack-plugin": "^7.3.0" + "webpack-obfuscator": "^3.5.1" } } diff --git a/src/images/AI.png b/src/images/AI.png new file mode 100644 index 0000000..546082f Binary files /dev/null and b/src/images/AI.png differ diff --git a/src/images/code.svg b/src/images/code.svg new file mode 100644 index 0000000..04e1cd8 --- /dev/null +++ b/src/images/code.svg @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/src/images/dgnomad.png b/src/images/dgnomad.png new file mode 100644 index 0000000..cb01706 Binary files /dev/null and b/src/images/dgnomad.png differ diff --git a/src/images/host.svg b/src/images/host.svg new file mode 100644 index 0000000..e2846f6 --- /dev/null +++ b/src/images/host.svg @@ -0,0 +1,28 @@ + + + + \ No newline at end of file diff --git a/src/images/laptop.svg b/src/images/laptop.svg new file mode 100644 index 0000000..8814a82 --- /dev/null +++ b/src/images/laptop.svg @@ -0,0 +1,64 @@ + + + \ No newline at end of file diff --git a/src/images/nomadro.png b/src/images/nomadro.png new file mode 100644 index 0000000..2388cdc Binary files /dev/null and b/src/images/nomadro.png differ diff --git a/src/images/phone2.png b/src/images/phone2.png new file mode 100644 index 0000000..513b6e8 Binary files /dev/null and b/src/images/phone2.png differ diff --git a/src/images/robot.svg b/src/images/robot.svg new file mode 100644 index 0000000..72f2098 --- /dev/null +++ b/src/images/robot.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/images/ssh.svg b/src/images/ssh.svg new file mode 100644 index 0000000..f50a36e --- /dev/null +++ b/src/images/ssh.svg @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/src/images/travel.svg b/src/images/travel.svg new file mode 100644 index 0000000..5d7e57b --- /dev/null +++ b/src/images/travel.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/images/youtube copy.svg b/src/images/youtube copy.svg new file mode 100644 index 0000000..92aaf5a --- /dev/null +++ b/src/images/youtube copy.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/index.html b/src/index.html index ed39d1e..91e0b29 100644 --- a/src/index.html +++ b/src/index.html @@ -1,39 +1,34 @@ -
- - - - + + - - - + + + - -